https://github.com/libsdl-org/Maelstrom/commit/4b36fa73a67d3f7592370ebe0a8584adade43fea
From 4b36fa73a67d3f7592370ebe0a8584adade43fea Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 19 Nov 2011 18:54:06 -0500
Subject: [PATCH] Turned on UI iteration mode
---
screenlib/SDL_FrameBuf.cpp | 3 +++
screenlib/SDL_FrameBuf.h | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/screenlib/SDL_FrameBuf.cpp b/screenlib/SDL_FrameBuf.cpp
index a7f6a2fc..3db20e24 100644
--- a/screenlib/SDL_FrameBuf.cpp
+++ b/screenlib/SDL_FrameBuf.cpp
@@ -51,6 +51,9 @@ FrameBuf:: Init(int width, int height, Uint32 window_flags, Uint32 render_flags,
#endif
AdjustCoordinates(width, height);
+#ifdef FAST_ITERATION
+ window_flags &= ~SDL_WINDOW_FULLSCREEN;
+#endif
window = SDL_CreateWindow(NULL, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, width, height, window_flags);
if (!window) {
SetError("Couldn't create %dx%d window: %s",
diff --git a/screenlib/SDL_FrameBuf.h b/screenlib/SDL_FrameBuf.h
index 55f50609..ea4f7176 100644
--- a/screenlib/SDL_FrameBuf.h
+++ b/screenlib/SDL_FrameBuf.h
@@ -29,7 +29,7 @@
*/
// Define this if you're rapidly iterating on UI screens
-//#define FAST_ITERATION
+#define FAST_ITERATION
// Define these if you want to try out the quick resolution hacks
//#define HACK_1024x768