diff options
Diffstat (limited to 'RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp')
-rw-r--r-- | RenderSystems/GLES/src/OgreGLESFrameBufferObject.cpp | 2 |
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 ) |