Added Getters for Window/Renderer pointers
This commit is contained in:
parent
b9e8fca5cc
commit
712e238ca0
4 changed files with 26 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue