This is to continue the discussion of PR that broke web (Emscripten)
The mentioned changes break rendering of the osgemscripten example
(found in OpenSceneGraph/examples/osgemscripten).
I've prepared two builds to depict the difference.
1. Build with the breaking fix:
2. Build with the breaking fix reverted:
The second build simply has the following GLExtension.cpp line:
isBufferObjectSupported = isVBOSupported && isPBOSupported;
isBufferObjectSupported = isVBOSupported;
So the problem is not really in PBO support, but in the fact that
possibly missing PBO support removes buffer object support. This is
wrong. The osgemscripten example uses VBO and this is what WebGL1
You can build osgemscripten example yourself (README explains how to
do it, it's easy on Linux) and see the errors.
Make sure to use the updated CMakeLists.txt I've attached to this email.
Post generated by Mail2Forum