SDL_render_gl.c: adjust for new SDL_PLATFORM_WINDOWS meaning.
This commit is contained in:
1 parent
1c79edbe02
commit
81314c4998
1 file changed
+1
-1
@@ -1642,7 +1642,7 @@ static SDL_bool GL_IsProbablyAccelerated(const GL_RenderData *data)
|
||||
/*const char *vendor = (const char *) data->glGetString(GL_VENDOR);*/
|
||||
const char *renderer = (const char *)data->glGetString(GL_RENDERER);
|
||||
|
||||
#if defined(SDL_PLATFORM_WINDOWS) || defined(SDL_PLATFORM_WINGDK)
|
||||
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
|
||||
if (SDL_strcmp(renderer, "GDI Generic") == 0) {
|
||||
return SDL_FALSE; /* Microsoft's fallback software renderer. Fix your system! */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user