Making framebuffer private again. (Was public for debugging.

This commit is contained in:
Faerbit 2014-12-04 01:22:23 +01:00
parent f559eced68
commit 588b499f93

View File

@ -22,7 +22,6 @@ class Graphics {
GLFWwindow* getWindow(); GLFWwindow* getWindow();
void resize(glm::uvec2 windowSize); void resize(glm::uvec2 windowSize);
float getFarPlane(); float getFarPlane();
ACGL::OpenGL::SharedFrameBufferObject framebuffer;
private: private:
void setGLFWHintsForOpenGLVersion( unsigned int _version ); void setGLFWHintsForOpenGLVersion( unsigned int _version );
glm::uvec2 windowSize; glm::uvec2 windowSize;
@ -33,6 +32,7 @@ class Graphics {
ACGL::OpenGL::SharedShaderProgram depthShader; ACGL::OpenGL::SharedShaderProgram depthShader;
ACGL::OpenGL::SharedTexture2D depthTexture_depth; ACGL::OpenGL::SharedTexture2D depthTexture_depth;
ACGL::OpenGL::SharedTexture2D depthTexture_colour; ACGL::OpenGL::SharedTexture2D depthTexture_colour;
ACGL::OpenGL::SharedFrameBufferObject framebuffer;
}; };
#endif #endif