SDL_render_gl.c: adjust for new SDL_PLATFORM_WINDOWS meaning.

main
Ozkan Sezer 2024-01-24 20:37:00 +03:00 committed by Ozkan Sezer
parent 1c79edbe02
commit 81314c4998
1 changed files with 1 additions and 1 deletions

View File

@ -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! */
}