aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window/Window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window/Window.hpp b/src/window/Window.hpp
index 4457898..3c0b708 100644
--- a/src/window/Window.hpp
+++ b/src/window/Window.hpp
@@ -12,6 +12,8 @@ class Window {
public:
~Window() { }
GLFWwindow *GetWin() { return win; }
+ void GetWinSize(int &w, int &h)
+ { w = width; h = height; }
static Window *Initialize(int width, int height, const char *title);