mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 16:20:36 +00:00
Don't crash if GS/TES shader reflection failed to fetch
This commit is contained in:
1 parent
1f18b2ef4e
commit
66d915d68b
1 file changed
+1
-1
@@ -752,7 +752,7 @@ void GLReplay::InitPostVSBuffers(uint32_t eventId)
|
||||
|
||||
GLuint lastFeedbackProg = 0;
|
||||
|
||||
if(tesShad || gsShad)
|
||||
if(tesRefl || gsRefl)
|
||||
{
|
||||
ShaderReflection *lastRefl = gsRefl;
|
||||
|
||||
|
||||
Reference in new issue
Block a user