From 74dbe2efdd250c0adb5928a4814b40b845699bbb Mon Sep 17 00:00:00 2001 From: rogerman Date: Sat, 25 Apr 2015 03:08:20 +0000 Subject: [PATCH] OpenGL Renderer: - Fix compiling for platforms that aren't OS X. (Regression from r5169.) --- desmume/src/OGLRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/OGLRender.cpp b/desmume/src/OGLRender.cpp index 1e982cd7c..4a330bc91 100644 --- a/desmume/src/OGLRender.cpp +++ b/desmume/src/OGLRender.cpp @@ -3455,7 +3455,7 @@ Render3DError OpenGLRenderer_2_0::RenderEdgeMarking(const u16 *colorTable) divide5bitBy31_LUT[(colorTable[7] >> 10) & 0x001F], 1.0f}; - glBindFramebuffer(GL_FRAMEBUFFER_EXT, OGLRef.fboPostprocessID); + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, OGLRef.fboPostprocessID); glDrawBuffer(GL_COLOR_ATTACHMENT0_EXT); glReadBuffer(GL_COLOR_ATTACHMENT0_EXT); glUseProgram(OGLRef.programEdgeMarkID);