mirror of https://github.com/godotengine/godot
Merge pull request #79772 from Malcolmnixon/gles-skeletons
Unbind the framebuffer when updating meshes
This commit is contained in:
commit
b1f4e58bbf
|
|
@ -1075,6 +1075,7 @@ void MeshStorage::update_mesh_instances() {
|
||||||
}
|
}
|
||||||
|
|
||||||
glEnable(GL_RASTERIZER_DISCARD);
|
glEnable(GL_RASTERIZER_DISCARD);
|
||||||
|
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||||
// Process skeletons and blend shapes using transform feedback
|
// Process skeletons and blend shapes using transform feedback
|
||||||
while (dirty_mesh_instance_arrays.first()) {
|
while (dirty_mesh_instance_arrays.first()) {
|
||||||
MeshInstance *mi = dirty_mesh_instance_arrays.first()->self();
|
MeshInstance *mi = dirty_mesh_instance_arrays.first()->self();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue