Skip to content
Permalink
Browse files

Merge pull request #12098 from hissingshark/master

Fix build error
  • Loading branch information...
hrydgard committed Jun 11, 2019
2 parents 3295c4d + 58b473a commit 730fd0616ee358782e01fe9f00ff6ce46c86f8e8
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 730fd06

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