diff options
author | chai <chaifix@163.com> | 2018-09-07 13:30:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-07 13:30:44 +0800 |
commit | e72188433348c270a54879da9f086f1b527b580f (patch) | |
tree | b2cb92b37579c6f9cff77f52fc591426eb2d8286 /src/libjin/Graphics/Window.h | |
parent | 28ca1f570d417671904a25c2a9c589fdb1eb7a03 (diff) |
*update
Diffstat (limited to 'src/libjin/Graphics/Window.h')
-rw-r--r-- | src/libjin/Graphics/Window.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Window.h b/src/libjin/Graphics/Window.h index 22033ee..2ecd7e4 100644 --- a/src/libjin/Graphics/Window.h +++ b/src/libjin/Graphics/Window.h @@ -5,7 +5,7 @@ #include "SDL2/SDL.h" #include "../utils/utils.h" -#include "../math/Vector2.h" +#include "../math/Vector2.hpp" #include "../common/Subsystem.hpp" namespace jin @@ -28,8 +28,8 @@ namespace graphics }; void setTitle(const char* title); - inline int getW(){ return size.x; } - inline int getH(){ return size.y; } + inline int getW(){ return size.w; } + inline int getH(){ return size.h; } inline int getFPS(){ return fps; } inline void swapBuffers(); |