From 726760a38e70b5b50a82d21e39c0e62f3ff3d8db Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 27 Jul 2014 22:18:53 +0800 Subject: [PATCH] RSX: detach shader when clear program buffer --- rpcs3/Emu/GS/GL/GLProgramBuffer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp b/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp index 87aacb94db..59eb82d573 100644 --- a/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp +++ b/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp @@ -117,9 +117,11 @@ void GLProgramBuffer::Clear() { for(u32 i=0; i