Skip to content
Snippets Groups Projects
Commit 7d23aba8 authored by Norihito Tohge's avatar Norihito Tohge
Browse files

Avoid unnecessary glBindVertexArray() calls


It is called before and after every draw call to bind and unbind.
Now it is called when the VAO to be bound is different from previous draw call
and only unbound at the end of View3D render layer.

Change-Id: I9372e59269c5248aece66834903dec5d01b2ef38
Reviewed-by: default avatarAntti Määttä <antti.maatta@qt.io>
Reviewed-by: default avatarTomi Korpipää <tomi.korpipaa@qt.io>
parent 8b509205
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment