From 1c9a8310ff76dcf253d1348a2ad1afeb9ccd0f2f Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Mon, 2 Dec 2013 19:43:56 +0100 Subject: [PATCH] Fixed missing modification after last commit --- src/SFML/Graphics/RenderTextureImplFBO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/RenderTextureImplFBO.cpp b/src/SFML/Graphics/RenderTextureImplFBO.cpp index ef96b46e..2b73fe28 100644 --- a/src/SFML/Graphics/RenderTextureImplFBO.cpp +++ b/src/SFML/Graphics/RenderTextureImplFBO.cpp @@ -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; return false; } - glCheck(GLEXT_glBindFramebuffer(GL_FRAMEBUFFER, m_frameBuffer)); + glCheck(GLEXT_glBindFramebuffer(GLEXT_GL_FRAMEBUFFER, m_frameBuffer)); // Create the depth buffer if requested if (depthBuffer)