From cfddcb7a93f818e9176d9c14121ab5bbef2b1a76 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 15 May 2015 21:33:31 +0200 Subject: [PATCH] gsdx-ogl: typo --- plugins/GSdx/GSTextureOGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSTextureOGL.cpp b/plugins/GSdx/GSTextureOGL.cpp index 68afcf2da8..16f486c0ff 100644 --- a/plugins/GSdx/GSTextureOGL.cpp +++ b/plugins/GSdx/GSTextureOGL.cpp @@ -143,7 +143,7 @@ namespace PboPool { gl_DeleteSync(m_fence[i]); // Don't know if we must do it - gl_BindBuffer(GL_PIXEL_UNPACK_BUFFER, m_pool[0]); + gl_BindBuffer(GL_PIXEL_UNPACK_BUFFER, m_pool[i]); gl_UnmapBuffer(GL_PIXEL_UNPACK_BUFFER); } gl_BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);