]> git.localhorst.tv Git - blank.git/blobdiff - src/init.hpp
add chunk inspect button (C)
[blank.git] / src / init.hpp
index d596cbc346f880247a98b8b3ceae9e278acdaa9a..d08437b0cd46b5408cc111733ce6587596ff1b81 100644 (file)
@@ -36,8 +36,7 @@ public:
 class InitGL {
 
 public:
-       InitGL();
-       ~InitGL();
+       explicit InitGL(bool double_buffer = true, int sample_size = 1);
 
        InitGL(const InitGL &) = delete;
        InitGL &operator =(const InitGL &) = delete;
@@ -87,6 +86,7 @@ public:
        static void EnableBackfaceCulling();
 
        static void Clear();
+       static void ClearDepthBuffer();
 
 private:
        SDL_GLContext handle;
@@ -98,7 +98,6 @@ class InitGLEW {
 
 public:
        InitGLEW();
-       ~InitGLEW();
 
        InitGLEW(const InitGLEW &) = delete;
        InitGLEW &operator =(const InitGLEW &) = delete;