Skip to content
Permalink
Browse files

Fix build error

  • Loading branch information...
hissingshark committed Jun 11, 2019
1 parent 3295c4d commit 58b473a64c72fdeaff4600cf046a3f7fc8bf38dd
Showing with 1 addition and 1 deletion.
  1. +1 −1 SDL/SDLGLGraphicsContext.cpp
@@ -109,7 +109,7 @@ EGLConfig EGL_FindConfig(int *contextVersion) {

// We don't want HDR modes with more than 8 bits per component.
// But let's assume some color is better than no color at all.
auto readConfigMax = [&](EGLint attr, EGLint m, EGLInt def = 1) -> EGLint {
auto readConfigMax = [&](EGLint attr, EGLint m, EGLint def = 1) -> EGLint {
EGLint val = readConfig(attr);
return val > m ? def : val;
};

0 comments on commit 58b473a

Please sign in to comment.
You can’t perform that action at this time.