mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
thin3d: Clear bound VBOs when not using.
Nothing clears them, so if one draw does, any later UP draws won't work.
This commit is contained in:
@@ -813,6 +813,8 @@ void Thin3DGLContext::DrawUP(T3DPrimitive prim, Thin3DShaderSet *shaderSet, Thin
|
||||
fmt->Apply(vdata);
|
||||
ss->Apply();
|
||||
|
||||
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
||||
glDrawArrays(primToGL[prim], 0, vertexCount);
|
||||
|
||||
ss->Unapply();
|
||||
|
||||
Reference in New Issue
Block a user