OGL: Bind the attributeless VAO before EFB copies.

Fixes crashes in Zack & Wiki using an older NVIDIA driver.
This commit is contained in:
Unknown W. Brackets
2014-12-10 23:19:18 -08:00
parent 0861cb8744
commit 290fd545e6
2 changed files with 9 additions and 4 deletions

View File

@ -249,6 +249,8 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
{
FramebufferManager::SetFramebuffer(framebuffer);
OpenGL_BindAttributelessVAO();
glActiveTexture(GL_TEXTURE0+9);
glBindTexture(GL_TEXTURE_2D_ARRAY, read_texture);