aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-24 10:27:51 +0300
committerFathi Boudra <fabo@debian.org>2011-10-24 10:27:51 +0300
commit401041edcfd421760017a729466f911b8786a14a (patch)
treeb9682b9e8e8d990debfde6c3b8db231b48cc581a
parente4f8ae2fcb737ff6199cc34d84e441cfff1b28d3 (diff)
Apple platform specific code
-rw-r--r--RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp b/RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp
index ea6bf3a..6f3bcd9 100644
--- a/RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp
+++ b/RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp
@@ -248,6 +248,7 @@ namespace Ogre {
void GLESFrameBufferObject::swapBuffers()
{
+#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
#if GL_APPLE_framebuffer_multisample
if (mMultisampleFB)
{
@@ -261,6 +262,7 @@ namespace Ogre {
// glBlitFramebufferEXT(0, 0, width, height, 0, 0, width, height, GL_COLOR_BUFFER_BIT, GL_NEAREST);
}
#endif
+#endif
}
void GLESFrameBufferObject::attachDepthBuffer( DepthBuffer *depthBuffer )