Skip to content

Commit 67d7dc8

Browse files
Update Window.hpp
1 parent 9df7e73 commit 67d7dc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Window.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ class Window {
1111

1212
bool Initialize(const std::string& title, int width, int height);
1313
void Update();
14+
void SwapBuffers();
1415
void Shutdown();
1516

1617
bool ShouldClose() const;
1718
GLFWwindow* GetNativeWindow() const { return m_Window; }
19+
int GetWidth() const { return m_Width; }
20+
int GetHeight() const { return m_Height; }
1821

1922
private:
2023
GLFWwindow* m_Window;

0 commit comments

Comments
 (0)