Closed beldenfox closed 2 years ago
This should be fixed with commit 0543649. I enabled the GL_ARB_compatibility
extension by default for Mac, but haven't committed that change until now. I also enable the GL state GL_PRIMITIVE_RESTART
only when an index buffer is bound, as this was causing a triangle soup when the non-indexed Draw
commands were used on Mac.
The code that sets up the fixed primitive restart index (
GLStateManager::SetPrimitiveRestartIndex
) only sets the index if theARB_compatibility
extension is present even thoughglPrimitiveRestartIndex
is a core feature of OpenGL 3.1 and up.