From 379803180921534a42743c1c5fb40647015c3dba Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 11:13:04 -0600 Subject: -removed rectdrawer -removed unused shader -cleaned up main and window --- inc/sdl/window.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'inc/sdl') 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 -- cgit v1.2.3