Skip to content

Commit

Permalink
Merge pull request #60832 from clayjohn/GLES3-blend-shapes
Browse files Browse the repository at this point in the history
Unbind vertex buffer before calculating blend shapes
  • Loading branch information
akien-mga authored May 6, 2022
2 parents 4ea6707 + b0b1e44 commit 1f5d4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gles3/rasterizer_storage_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1f5d4e3

Please sign in to comment.