sdl12-compat: Always use fullscreen-desktop for fullscreen 2D video modes.

From 246a0bd4016f9596941d87008dfaab62aab1d383 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 29 Apr 2021 11:36:24 -0400
Subject: [PATCH] Always use fullscreen-desktop for fullscreen 2D video modes.

---
 src/SDL12_compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index f9b2817..3f9f7c1 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -3346,7 +3346,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags12)
             GPU, so use FULLSCREEN_DESKTOP and logical scaling there.
             If possible, we'll do this with OpenGL, too, but we might not be
             able to. */
-        if (use_gl_scaling || ((dmode.w == width) && (dmode.h == height))) {
+        if (use_gl_scaling || ((flags12 & SDL12_OPENGL) == 0) || ((dmode.w == width) && (dmode.h == height))) {
             fullscreen_flags20 |= SDL_WINDOW_FULLSCREEN_DESKTOP;
         } else {
             fullscreen_flags20 |= SDL_WINDOW_FULLSCREEN;