From b0b1e44bc16f13062b3d72820e9980571bdc622a Mon Sep 17 00:00:00 2001 From: clayjohn Date: Fri, 6 May 2022 12:19:12 -0700 Subject: [PATCH] Unbind vertex buffer before calculating blend shapes --- drivers/gles3/rasterizer_storage_gles3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index d8b1a9242da..151e56f420b 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -4306,7 +4306,7 @@ void RasterizerStorageGLES3::mesh_render_blend_shapes(Surface *s, const float *p shaders.blend_shapes.set_uniform(BlendShapeShaderGLES3::BLEND_AMOUNT, base_weight); glEnable(GL_RASTERIZER_DISCARD); - + glBindBuffer(GL_ARRAY_BUFFER, 0); glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, resources.transform_feedback_buffers[0]); glBeginTransformFeedback(GL_POINTS); glDrawArrays(GL_POINTS, 0, s->array_len);