On MacOS, gltf-viewer crashes with the following errors (with “gl-check-errors #t”) :
Known pipe types: CocoaGraphicsPipe (all display modules loaded.) :display:gsg:glgsg(error): at 1927 of panda/src/glstuff/glGraphicsBuffer_src.cxx : invalid operation :display:gsg:glgsg(error): at 1927 of panda/src/glstuff/glGraphicsBuffer_src.cxx : invalid operation :display:gsg:glgsg(error): at 1927 of panda/src/glstuff/glGraphicsBuffer_src.cxx : invalid operation ...
Which is the penultimate report_my_gl_errors() in resolve_multisamples() method.
The workaround is to use simplepbr.init(msaa=0)
in gltf-viewer