X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5684ea03b4b9fa41d81968236aa070eefd30374..534090e354ebd5b4c42e6c27a6aa6073c0ef669e:/src/osx/iphone/glcanvas.mm?ds=sidebyside diff --git a/src/osx/iphone/glcanvas.mm b/src/osx/iphone/glcanvas.mm index 5231dde912..98e97dcc79 100644 --- a/src/osx/iphone/glcanvas.mm +++ b/src/osx/iphone/glcanvas.mm @@ -89,6 +89,7 @@ glGenFramebuffersOES(1, &viewFramebuffer); glGenRenderbuffersOES(1, &viewRenderbuffer); + glEnable(GL_CULL_FACE); glBindFramebufferOES(GL_FRAMEBUFFER_OES, viewFramebuffer); glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);