]> git.localhorst.tv Git - blank.git/blobdiff - src/init.hpp
remove unused (explicit) destructors
[blank.git] / src / init.hpp
index a2f2de7779ec94ddb20d7a1664ab2ef2e873c0b5..a467e69157eebc63e29dd5dcb961aeb8cb4febad 100644 (file)
@@ -37,7 +37,6 @@ class InitGL {
 
 public:
        InitGL();
-       ~InitGL();
 
        InitGL(const InitGL &) = delete;
        InitGL &operator =(const InitGL &) = delete;
@@ -83,6 +82,10 @@ public:
        GLContext &operator =(const GLContext &) = delete;
 
        static void EnableVSync();
+       static void EnableDepthTest();
+       static void EnableBackfaceCulling();
+
+       static void Clear();
 
 private:
        SDL_GLContext handle;
@@ -94,7 +97,6 @@ class InitGLEW {
 
 public:
        InitGLEW();
-       ~InitGLEW();
 
        InitGLEW(const InitGLEW &) = delete;
        InitGLEW &operator =(const InitGLEW &) = delete;