metalangle icon indicating copy to clipboard operation
metalangle copied to clipboard

Undefined symbols for glResolveMultisampleFramebufferAPPLE and _glRenderbufferStorageMultisampleAPPLE

Open myonlylonely opened this issue 2 years ago • 1 comments

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?

myonlylonely avatar Mar 07 '22 16:03 myonlylonely

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.

kakashidinho avatar Mar 08 '22 18:03 kakashidinho