Fixed missing modification after last commit

This commit is contained in:
Laurent Gomila 2013-12-02 19:43:56 +01:00 committed by Jonathan De Wachter
parent 62941c4264
commit 1c9a8310ff

View File

@ -95,7 +95,7 @@ bool RenderTextureImplFBO::create(unsigned int width, unsigned int height, unsig
err() << "Impossible to create render texture (failed to create the frame buffer object)" << std::endl; err() << "Impossible to create render texture (failed to create the frame buffer object)" << std::endl;
return false; return false;
} }
glCheck(GLEXT_glBindFramebuffer(GL_FRAMEBUFFER, m_frameBuffer)); glCheck(GLEXT_glBindFramebuffer(GLEXT_GL_FRAMEBUFFER, m_frameBuffer));
// Create the depth buffer if requested // Create the depth buffer if requested
if (depthBuffer) if (depthBuffer)