class InitGL {
public:
- InitGL();
+ explicit InitGL(bool double_buffer = true, int sample_size = 1);
InitGL(const InitGL &) = delete;
InitGL &operator =(const InitGL &) = delete;
static void EnableBackfaceCulling();
static void Clear();
+ static void ClearDepthBuffer();
private:
SDL_GLContext handle;