We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df7e73 commit 67d7dc8Copy full SHA for 67d7dc8
src/Window.hpp
@@ -11,10 +11,13 @@ class Window {
11
12
bool Initialize(const std::string& title, int width, int height);
13
void Update();
14
+ void SwapBuffers();
15
void Shutdown();
16
17
bool ShouldClose() const;
18
GLFWwindow* GetNativeWindow() const { return m_Window; }
19
+ int GetWidth() const { return m_Width; }
20
+ int GetHeight() const { return m_Height; }
21
22
private:
23
GLFWwindow* m_Window;
0 commit comments