mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix using wrong program name (parameter not valid when reading)
This commit is contained in:
@@ -291,7 +291,7 @@ bool WrappedOpenGL::Serialise_glCreateShaderProgramv(GLuint program, GLenum type
|
||||
|
||||
delete[] sources;
|
||||
|
||||
GLResource res = ProgramRes(program);
|
||||
GLResource res = ProgramRes(real);
|
||||
|
||||
m_ResourceManager->RegisterResource(res);
|
||||
GetResourceManager()->AddLiveResource(id, res);
|
||||
|
||||
Reference in New Issue
Block a user