mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
SDL_render_gl.c: adjust for new SDL_PLATFORM_WINDOWS meaning.
This commit is contained in:
@@ -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