diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-20 23:01:12 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-20 23:01:12 +0100 |
commit | 977b8f16d7ef43101b6ef588f9610f34285fa7e6 (patch) | |
tree | 25446bc027685765a79492d3b68c49bdee53612b /yage/base/window.h | |
parent | b869c926429e9316617a643960a97fad64dd42ef (diff) | |
download | YAGE-977b8f16d7ef43101b6ef588f9610f34285fa7e6.tar.gz YAGE-977b8f16d7ef43101b6ef588f9610f34285fa7e6.zip |
Replacing SDL by glfw
Diffstat (limited to 'yage/base/window.h')
-rw-r--r-- | yage/base/window.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/yage/base/window.h b/yage/base/window.h index 8639e075..eb4cf005 100644 --- a/yage/base/window.h +++ b/yage/base/window.h @@ -6,10 +6,13 @@ * ---------------------------------------------------------------------------- */ +/** @file + */ + #ifndef WINDOW_H #define WINDOW_H -#include <SDL2/SDL.h> +#include <GLFW/glfw3.h> #include <string> @@ -24,12 +27,12 @@ enum WindowFlags : unsigned { BORDERLESS = 0x8, }; -// window wrapper around SDL_Window pointer +// window wrapper around GLFWwindow pointer class Window { private: /// window handle - SDL_Window *window_ = nullptr; + GLFWwindow *window_ = nullptr; public: Window(); |