Added window properties

This commit is contained in:
Robert 2020-05-17 00:16:56 +02:00
parent 305963fe7e
commit 89115c7b5b
3 changed files with 56 additions and 0 deletions

View file

@ -6,6 +6,7 @@ int main(int argc, char** argv)
MyWindow window(800, 800, "Test");
SDL_SetWindowTitle(window.GetWindow(), "New Title");
window.SetMouseCursorGrabbed(true);
SDL_Event event;
while (window.IsOpen())