Added Getters for Window/Renderer pointers

This commit is contained in:
Robert 2020-05-16 21:30:21 +02:00
parent b9e8fca5cc
commit 712e238ca0
4 changed files with 26 additions and 1 deletions

View file

@ -14,6 +14,7 @@ int main(int argc, char** argv)
std::cout << "Vector2f: " << vec.x << ", " << vec.y << std::endl;
MyWindow window(800, 800, "Test");
SDL_SetWindowTitle(window.GetWindow(), "New Title");
SDL_Event event;
while (window.WaitEvent(&event))