Merge pull request #332 from raven02/patch-18

Fix vertex program decompile function
This commit is contained in:
B1ackDaemon 2014-06-12 17:27:23 +03:00
commit ada0b31295

View File

@ -601,7 +601,8 @@ void GLVertexProgram::Wait()
void GLVertexProgram::Decompile(RSXVertexProgram& prog) void GLVertexProgram::Decompile(RSXVertexProgram& prog)
{ {
GLVertexDecompilerThread(prog.data, shader, parr); GLVertexDecompilerThread decompiler(prog.data, shader, parr);
decompiler.Task();
} }
void GLVertexProgram::DecompileAsync(RSXVertexProgram& prog) void GLVertexProgram::DecompileAsync(RSXVertexProgram& prog)