Index: game-gui-sdl.cpp
===================================================================
--- game-gui-sdl.cpp	(revision 6fc24c7297278ec4d1c89725b3f9a0f98a6adcca)
+++ game-gui-sdl.cpp	(revision 0e093408baa407e69125906c7b875a1e1689b7d5)
@@ -93,5 +93,11 @@
             break;
          case SDL_WINDOWEVENT:
-            event->type = UI_EVENT_WINDOW;
+            if (e.window.event == SDL_WINDOWEVENT_SIZE_CHANGED ||
+               e.window.event == SDL_WINDOWEVENT_MINIMIZED ||
+               e.window.event == SDL_WINDOWEVENT_MAXIMIZED) {
+               event->type = UI_EVENT_WINDOWRESIZE;
+            } else {
+               event->type = UI_EVENT_WINDOW;
+            }
             break;
          case SDL_KEYUP:
Index: game-gui.hpp
===================================================================
--- game-gui.hpp	(revision 6fc24c7297278ec4d1c89725b3f9a0f98a6adcca)
+++ game-gui.hpp	(revision 0e093408baa407e69125906c7b875a1e1689b7d5)
@@ -17,4 +17,5 @@
    UI_EVENT_QUIT,
    UI_EVENT_WINDOW,
+   UI_EVENT_WINDOWRESIZE,
    UI_EVENT_KEY,
    UI_EVENT_MOUSEBUTTONDOWN,
Index: upgrade-TODO.txt
===================================================================
--- upgrade-TODO.txt	(revision 6fc24c7297278ec4d1c89725b3f9a0f98a6adcca)
+++ upgrade-TODO.txt	(revision 0e093408baa407e69125906c7b875a1e1689b7d5)
@@ -18,2 +18,9 @@
 
 - Add CrashLogger functionality
+
+
+opengl-game TODO
+--------------
+
+- Make sure new-game.cpp is updated with the TODO lines
+- Implament the window resize callback and related functionality in opengl-game / game-gui-glfw
Index: vulkan-game.cpp
===================================================================
--- vulkan-game.cpp	(revision 6fc24c7297278ec4d1c89725b3f9a0f98a6adcca)
+++ vulkan-game.cpp	(revision 0e093408baa407e69125906c7b875a1e1689b7d5)
@@ -124,4 +124,8 @@
                cout << "Window event detected" << endl;
                // Currently unused
+               break;
+            case UI_EVENT_WINDOWRESIZE:
+               cout << "Window resize event detected" << endl;
+               framebufferResized = true;
                break;
             case UI_EVENT_KEY:
Index: vulkan-game.hpp
===================================================================
--- vulkan-game.hpp	(revision 6fc24c7297278ec4d1c89725b3f9a0f98a6adcca)
+++ vulkan-game.hpp	(revision 0e093408baa407e69125906c7b875a1e1689b7d5)
@@ -40,4 +40,6 @@
       VkRenderPass renderPass;
 
+      bool framebufferResized = false;
+
       bool initWindow(int width, int height, unsigned char guiFlags);
       void initVulkan();
Index: vulkan-ref.cpp
===================================================================
--- vulkan-ref.cpp	(revision 6fc24c7297278ec4d1c89725b3f9a0f98a6adcca)
+++ vulkan-ref.cpp	(revision 0e093408baa407e69125906c7b875a1e1689b7d5)
@@ -227,7 +227,7 @@
       size_t currentFrame = 0;
 
+/*** START OF REFACTORED CODE ***/
       bool framebufferResized = false;
 
-/*** START OF REFACTORED CODE ***/
       bool initWindow() {
          if (gui->init() == RTWO_ERROR) {
@@ -1697,5 +1697,4 @@
                   quit = true;
                }
-/*** END OF REFACTORED CODE ***/
                if (e.type == SDL_WINDOWEVENT) {
                   if (e.window.event == SDL_WINDOWEVENT_SIZE_CHANGED ||
@@ -1704,5 +1703,4 @@
                   }
                }
-/*** START OF REFACTORED CODE ***/
             }
 
