Unbind vertex buffer before calculating blend shapes

(cherry picked from commit b0b1e44bc1)
This commit is contained in:
clayjohn 2022-05-06 12:19:12 -07:00 committed by Rémi Verschelde
parent 29fc16d4b6
commit 4a00561556
1 changed files with 1 additions and 1 deletions

View File

@ -4279,7 +4279,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);