summaryrefslogtreecommitdiff
path: root/inc/sdl
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-19 11:13:04 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:41 -0600
commit379803180921534a42743c1c5fb40647015c3dba (patch)
tree9ede054a43a871ab6cdfcf17099d4acdb9e2f249 /inc/sdl
parentfcf6abaccec7c7ed2fd306a9cf1ec378f303297c (diff)
-removed rectdrawer
-removed unused shader -cleaned up main and window
Diffstat (limited to 'inc/sdl')
-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