Index: .gitignore
===================================================================
--- .gitignore	(revision 7bf5433f5c6c2730d8e43381bfb0d0741b7fb34a)
+++ .gitignore	(revision d2f607cd829c647890705eb55463ff97d431fb27)
@@ -1,3 +1,3 @@
-newgame
+openglref
 vulkanref
 openglgame
Index: game-gui-sdl.cpp
===================================================================
--- game-gui-sdl.cpp	(revision 7bf5433f5c6c2730d8e43381bfb0d0741b7fb34a)
+++ game-gui-sdl.cpp	(revision d2f607cd829c647890705eb55463ff97d431fb27)
@@ -59,7 +59,13 @@
    // otherwise you will not receive a High DPI OpenGL canvas.
 
-   uint32_t flags = SDL_WINDOW_VULKAN;
+   SDL_DisplayMode dm;
+   SDL_GetCurrentDisplayMode(0, &dm);
 
-   flags |= fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : SDL_WINDOW_RESIZABLE;
+   if (fullscreen) {
+      width = dm.w;
+      height = dm.h;
+   }
+
+   uint32_t flags = SDL_WINDOW_VULKAN | (fullscreen ? SDL_WINDOW_FULLSCREEN : SDL_WINDOW_RESIZABLE);
 
    window = SDL_CreateWindow(title.c_str(),
Index: makefile
===================================================================
--- makefile	(revision 7bf5433f5c6c2730d8e43381bfb0d0741b7fb34a)
+++ makefile	(revision d2f607cd829c647890705eb55463ff97d431fb27)
@@ -22,5 +22,5 @@
 # as this well prevent regenerating .o files for unchanged .cpp files
 
-newgame: new-game.cpp logger.cpp utils.cpp crash-logger.cpp imgui_impl_glfw_gl3.cpp $(IMGUI_FILES)
+openglref: new-game.cpp logger.cpp utils.cpp crash-logger.cpp imgui_impl_glfw_gl3.cpp $(IMGUI_FILES)
 	$(CC) $^ $(DEP) $(CFLAGS) -o $@
 
@@ -67,5 +67,5 @@
 
 clean:
-	rm -f newgame
+	rm -f openglref
 	rm -f vulkanref
 	rm -f openglgame
