This builds perfectly fine with a new, unmodified OpenGL iOS project created via Introjucer. GlBindRenderbuffer (GL_RENDERBUFFER, -203,6 +209,8 private:īool useDepthBuffer, useStencilBuffer, useMSAA īool createContext (EAGLRenderingAPI type, void* contextToShare) + glResolveMultisampleFramebufferAPPLE() + glBlitFramebuffer (0, 0, lastWidth, lastHeight, 0, 0, lastWidth, lastHeight, GL_COLOR_BUFFER_BIT, GL_NEAREST) +#if defined (_IPHONE_7_0) & _IPHONE_OS_VERSION_MAX_ALLOWED >= _IPHONE_7_0 glResolveMultisampleFramebufferAPPLE() glBlitFramebuffer (0, 0, lastWidth, lastHeight, 0, 0, lastWidth, lastHeight, GL_COLOR_BUFFER_BIT, GL_NEAREST) #if defined (_IPHONE_7_0) & _IPHONE_OS_VERSION_MAX_ALLOWED >= _IPHONE_7_0 GlBindFramebuffer (GL_READ_FRAMEBUFFER, msaaBufferHandle) GlBindFramebuffer (GL_DRAW_FRAMEBUFFER, frameBufferHandle) + useStencilBuffer (pixFormat.stencilBufferBits > 0), useMSAA (multisampling), useStencilBuffer (pixFormat.stencilBufferBits > 0), useMSAA (multisampling) SwapFrames (0), useDepthBuffer (pthBufferBits > 0), LastWidth (0), lastHeight (0), needToRebuildBuffers (false), a/modules/juce_opengl/native/juce_OpenGL_ios.hĭepthBufferHandle (0), msaaColorHandle (0), msaaBufferHandle (0), The full diff for my change looks like this:ĭiff -git a/modules/juce_opengl/native/juce_OpenGL_ios.h b/modules/juce_opengl/native/juce_OpenGL_ios.h
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |