metalangle
metalangle copied to clipboard
Undefined symbols for glResolveMultisampleFramebufferAPPLE and _glRenderbufferStorageMultisampleAPPLE
XCode has these errors:
Undefined symbol: _glResolveMultisampleFramebufferAPPLE
Undefined symbol: _glRenderbufferStorageMultisampleAPPLE
I can see that in gl2ext.h
, they are defined in GL_GLEXT_PROTOTYPES
.
Does that mean that I need to build a version that has GL_GLEXT_PROTOTYPES
enabled?
How to build that?
Hi, glResolveMultisampleFramebufferAPPLE & glRenderbufferStorageMultisampleAPPLE are not implemented in MetalANGLE. If you want to use multisample framebuffer. Use:
- glBlitFramebuffer & glRenderbufferStorageMultisample (standard OpenGL ES 3.0 functions).
- glBlitFramebufferANGLE & glRenderbufferStorageMultisampleANGLE if you use OpenGL ES 2.0 context. They are almost equivalent to above functions except they are extensions for OpenGL ES 2.0.