Don't crash if GS/TES shader reflection failed to fetch

This commit is contained in:
baldurk
2018-06-04 20:11:39 +01:00
parent 1f18b2ef4e
commit 66d915d68b
+1 -1
View File
@@ -752,7 +752,7 @@ void GLReplay::InitPostVSBuffers(uint32_t eventId)
GLuint lastFeedbackProg = 0;
if(tesShad || gsShad)
if(tesRefl || gsRefl)
{
ShaderReflection *lastRefl = gsRefl;