summaryrefslogtreecommitdiff
path: root/inc/sdl/window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/sdl/window.hpp')
-rw-r--r--inc/sdl/window.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/inc/sdl/window.hpp b/inc/sdl/window.hpp
index fc0f325..64b4e7b 100644
--- a/inc/sdl/window.hpp
+++ b/inc/sdl/window.hpp
@@ -12,16 +12,17 @@ class Window
{
public:
Window(int width, int height, const std::string& title);
- void Clear(float r, float g, float b, float a);
- void swapBuffers();
- bool getClosed(){return closed;};
+ ~Window();
+
+ void Clear();
+ void swapBuffers();
+ bool getClosed(){return closed;};
- virtual ~Window();
private:
SDL_Window* main;
- SDL_GLContext glContext;
- bool closed;
+ SDL_GLContext glContext;
+ bool closed;
};
#endif