Skip to content

Commit

Permalink
Merge pull request #79772 from Malcolmnixon/gles-skeletons
Browse files Browse the repository at this point in the history
Unbind the framebuffer when updating meshes
  • Loading branch information
YuriSizov committed Jul 24, 2023
2 parents 7dbbf2e + 679f5bf commit b1f4e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gles3/storage/mesh_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ void MeshStorage::update_mesh_instances() {
}

glEnable(GL_RASTERIZER_DISCARD);
glBindFramebuffer(GL_FRAMEBUFFER, 0);
// Process skeletons and blend shapes using transform feedback
while (dirty_mesh_instance_arrays.first()) {
MeshInstance *mi = dirty_mesh_instance_arrays.first()->self();
Expand Down

0 comments on commit b1f4e58

Please sign in to comment.