mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 17:06:32 +00:00
Don't register live resources during capture
* Otherwise we try and delete these resources on shutdown, which we shouldn't.
This commit is contained in:
@@ -818,13 +818,13 @@ GLuint WrappedOpenGL::glCreateProgram()
|
||||
|
||||
record->AddChunk(chunk);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
GetResourceManager()->AddLiveResource(id, res);
|
||||
|
||||
m_Programs[id].linked = false;
|
||||
}
|
||||
|
||||
m_Programs[id].linked = false;
|
||||
|
||||
return real;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user