Fixes some build errors from the OS X 10.5 SDK, refs #1768

This was SVN commit r12998.
This commit is contained in:
historic_bruno
2012-12-18 22:58:34 +00:00
parent 5c94761c3e
commit e7ef6a57ad
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -322,7 +322,7 @@ void ShadowMapInternals::CreateTexture()
}
// save the caller's FBO
glGetIntegerv(GL_FRAMEBUFFER_BINDING, &SavedViewFBO);
glGetIntegerv(GL_FRAMEBUFFER_BINDING_EXT, &SavedViewFBO);
pglGenFramebuffersEXT(1, &Framebuffer);
@@ -457,7 +457,7 @@ void ShadowMap::BeginRender()
// HACK HACK: this depends in non-obvious ways on the behaviour of the caller
// save caller's FBO
glGetIntegerv(GL_FRAMEBUFFER_BINDING, &m->SavedViewFBO);
glGetIntegerv(GL_FRAMEBUFFER_BINDING_EXT, &m->SavedViewFBO);
// Calc remaining shadow matrices
m->CalcShadowMatrices();