From 401041edcfd421760017a729466f911b8786a14a Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Mon, 24 Oct 2011 10:27:51 +0300 Subject: Apple platform specific code --- RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { @@ -260,6 +261,7 @@ namespace Ogre { GL_CHECK_ERROR; // glBlitFramebufferEXT(0, 0, width, height, 0, 0, width, height, GL_COLOR_BUFFER_BIT, GL_NEAREST); } +#endif #endif } -- cgit v1.2.3