mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-04 02:05:26 +02:00
Merge pull request #8039 from unknownbrackets/tex-split
Prevent unbinding array buffer in depal (for 1.1.1)
This commit is contained in:
commit
a212ebd225
1 file changed
+3
-2
@@ -1092,8 +1092,9 @@ void TextureCache::ApplyTextureFramebuffer(TexCacheEntry *entry, VirtualFramebuf
|
||||
|
||||
glUseProgram(depal->program);
|
||||
|
||||
glstate.arrayBuffer.unbind();
|
||||
glstate.elementArrayBuffer.unbind();
|
||||
// Restore will rebind all of the state below.
|
||||
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
||||
glEnableVertexAttribArray(depal->a_position);
|
||||
glEnableVertexAttribArray(depal->a_texcoord0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user