From 46b383acda4e4e5b04afb8f1315800b837a5bc9f Mon Sep 17 00:00:00 2001
From: mazmazz <mar.marcoz@outlook.com>
Date: Tue, 9 Jun 2020 17:31:49 -0400
Subject: [PATCH] CMAKE: Fix toggle fullscreen breakage due to missing define

This is lazy. The correct solution is to eliminate the define in the program code
---
 src/sdl/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sdl/CMakeLists.txt b/src/sdl/CMakeLists.txt
index 481f1a426f..744b242fa8 100644
--- a/src/sdl/CMakeLists.txt
+++ b/src/sdl/CMakeLists.txt
@@ -266,7 +266,7 @@ if(${SDL2_FOUND})
 	endif()
 
 	target_compile_definitions(SRB2SDL2 PRIVATE
-		-DHAVE_SDL
+		-DDDIRECTFULLSCREEN -DHAVE_SDL
 	)
 
 	## strip debug symbols into separate file when using gcc.
-- 
GitLab