From c6953253769b52e8e1376f3a51cb515bed2ff27b Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 4 Dec 2014 01:22:23 +0100 Subject: [PATCH] Making framebuffer private again. (Was public for debugging. --- graphics.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics.hh b/graphics.hh index 9cb1c2c..1a0a9b3 100644 --- a/graphics.hh +++ b/graphics.hh @@ -22,7 +22,6 @@ class Graphics { GLFWwindow* getWindow(); void resize(glm::uvec2 windowSize); float getFarPlane(); - ACGL::OpenGL::SharedFrameBufferObject framebuffer; private: void setGLFWHintsForOpenGLVersion( unsigned int _version ); glm::uvec2 windowSize; @@ -33,6 +32,7 @@ class Graphics { ACGL::OpenGL::SharedShaderProgram depthShader; ACGL::OpenGL::SharedTexture2D depthTexture_depth; ACGL::OpenGL::SharedTexture2D depthTexture_colour; + ACGL::OpenGL::SharedFrameBufferObject framebuffer; }; #endif