Unbind vertex buffer before calculating blend shapes
This commit is contained in:
parent
4ea6707ea3
commit
b0b1e44bc1
@ -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);
|
shaders.blend_shapes.set_uniform(BlendShapeShaderGLES3::BLEND_AMOUNT, base_weight);
|
||||||
glEnable(GL_RASTERIZER_DISCARD);
|
glEnable(GL_RASTERIZER_DISCARD);
|
||||||
|
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
||||||
glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, resources.transform_feedback_buffers[0]);
|
glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, resources.transform_feedback_buffers[0]);
|
||||||
glBeginTransformFeedback(GL_POINTS);
|
glBeginTransformFeedback(GL_POINTS);
|
||||||
glDrawArrays(GL_POINTS, 0, s->array_len);
|
glDrawArrays(GL_POINTS, 0, s->array_len);
|
||||||
|
Loading…
Reference in New Issue
Block a user