This commit is contained in:
Andy Vandijck 2025-06-29 13:07:43 +02:00
parent d1d2cd7ba7
commit d91d7fd5e3
1 changed files with 10 additions and 10 deletions

View File

@ -2581,7 +2581,7 @@ void SDLDrawingPanel::DrawArea()
SDL_UpdateTexture(texture, NULL, todraw_argb, srcPitch);
#ifdef ENABLE_SDL3
if ((!strcmp(SDL_GetRendererName(renderer), "direct3d")) && (systemColorDepth == 16)) {
} else if ((!strcmp(SDL_GetRendererName(renderer), "direct3d")) && (systemColorDepth == 16)) {
#else
} else if ((OPTION(kSDLRenderer) == wxString("direct3d") && (systemColorDepth == 16)) {
#endif