We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a60ce5 commit 682ca9bCopy full SHA for 682ca9b
libvisual/tools/lv-tool/display/sdl_driver.cpp
@@ -117,7 +117,7 @@ namespace {
117
for (unsigned int i = VISUAL_GL_ATTRIBUTE_NONE; i < VISUAL_GL_ATTRIBUTE_LAST; i++) {
118
SDL_GLattr sdl_attribute = sdl_gl_attribute_map[vidoptions->gl_attrs[i].attribute];
119
120
- if (sdl_attribute < 0) {
+ if (sdl_attribute == static_cast<SDL_GLattr> (-1)) {
121
continue;
122
}
123
libvisual/tools/lv-tool/display/stdout_sdl_driver.cpp
@@ -131,7 +131,7 @@ namespace {
131
SDL_GLattr sdl_attribute =
132
sdl_gl_attribute_map[vidoptions->gl_attrs[i].attribute];
133
134
135
136
137
0 commit comments