diff options
Diffstat (limited to 'inc/window.hpp')
-rw-r--r-- | inc/window.hpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/inc/window.hpp b/inc/window.hpp deleted file mode 100644 index fc0f325..0000000 --- a/inc/window.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef window_h -#define window_h - -#include <SDL2/SDL.h> -#include <string> -#include <iostream> -#include <GL/glew.h> - -#include "constants.hpp" - -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;}; - - virtual ~Window(); - - private: - SDL_Window* main; - SDL_GLContext glContext; - bool closed; -}; - -#endif |