X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Finit.hpp;h=d08437b0cd46b5408cc111733ce6587596ff1b81;hb=c899292fd5dee11bee0fafadf051f4204eb4bf2a;hp=a467e69157eebc63e29dd5dcb961aeb8cb4febad;hpb=6af76d9e1a6499ebdab405c1d679d24b9e19fded;p=blank.git diff --git a/src/init.hpp b/src/init.hpp index a467e69..d08437b 100644 --- a/src/init.hpp +++ b/src/init.hpp @@ -36,7 +36,7 @@ public: class InitGL { public: - InitGL(); + explicit InitGL(bool double_buffer = true, int sample_size = 1); InitGL(const InitGL &) = delete; InitGL &operator =(const InitGL &) = delete; @@ -86,6 +86,7 @@ public: static void EnableBackfaceCulling(); static void Clear(); + static void ClearDepthBuffer(); private: SDL_GLContext handle;