We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my environment (SDL2 and OpenGL) the RenderInterface_GL3::RenderCompiledGeometry (in https://github.com/mikke89/RmlUi/blob/master/Backends/RmlUi_Renderer_GL3.cpp) leads to crash because the Vertex Array is not unbind after the draw and, in my case, the ambient binds the Vertex Array and the Element Buffer constantly.
Unbinding the Vertex after glDrawElements (line 448) solves the problem.
The text was updated successfully, but these errors were encountered:
c6a1b62
I agree it is safer to unbind the vertex array after use, so I went ahead with your suggested fix. Thanks!
Sorry, something went wrong.
No branches or pull requests
In my environment (SDL2 and OpenGL) the RenderInterface_GL3::RenderCompiledGeometry
(in https://github.com/mikke89/RmlUi/blob/master/Backends/RmlUi_Renderer_GL3.cpp) leads to crash because the Vertex Array is not unbind after the draw and, in my case, the ambient binds the Vertex Array and the Element Buffer constantly.
Unbinding the Vertex after glDrawElements (line 448) solves the problem.
The text was updated successfully, but these errors were encountered: