From c1a6cccab8a606495d5838bcd7e7f0f51f966253 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 17 May 2020 14:53:08 +0200 Subject: [PATCH] Changed example --- SDLU_Example/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SDLU_Example/main.cpp b/SDLU_Example/main.cpp index cf1aef4..c4a5ece 100644 --- a/SDLU_Example/main.cpp +++ b/SDLU_Example/main.cpp @@ -6,7 +6,6 @@ int main(int argc, char** argv) MyWindow window(800, 800, "Test"); SDL_SetWindowTitle(window.GetWindow(), "New Title"); - window.SetMouseCursorGrabbed(true); SDL_Event event; float t = 0.f; @@ -19,6 +18,10 @@ int main(int argc, char** argv) case SDL_WINDOWEVENT_CLOSE: window.Close(); break; + + case SDL_WINDOWEVENT_RESIZED: + std::cout << "If you see this, something isn't working." << std::endl; + break; } }