X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Finit.hpp;h=a467e69157eebc63e29dd5dcb961aeb8cb4febad;hb=6af76d9e1a6499ebdab405c1d679d24b9e19fded;hp=51ab3f834b03054a2783b6838261fd0329d98fe4;hpb=59fe611e6ee06f8e9445f1b19339a1f158c9322c;p=blank.git diff --git a/src/init.hpp b/src/init.hpp index 51ab3f8..a467e69 100644 --- a/src/init.hpp +++ b/src/init.hpp @@ -37,7 +37,6 @@ class InitGL { public: InitGL(); - ~InitGL(); InitGL(const InitGL &) = delete; InitGL &operator =(const InitGL &) = delete; @@ -83,8 +82,11 @@ public: GLContext &operator =(const GLContext &) = delete; static void EnableVSync(); + static void EnableDepthTest(); static void EnableBackfaceCulling(); + static void Clear(); + private: SDL_GLContext handle; @@ -95,7 +97,6 @@ class InitGLEW { public: InitGLEW(); - ~InitGLEW(); InitGLEW(const InitGLEW &) = delete; InitGLEW &operator =(const InitGLEW &) = delete;