Initialise program variables to 0 in case they're not created

This commit is contained in:
baldurk
2018-08-29 20:50:14 +01:00
parent f1d052fc86
commit 94b4bd5f56
+2
View File
@@ -522,6 +522,8 @@ void GLReplay::InitDebugData()
"GL_ARB_compute_shader not supported, disabling 2DMS save/load.");
}
DebugData.DepthArray2MS = DebugData.DepthMS2Array = 0;
if(glesShadersAreComplete && HasExt[ARB_texture_multisample])
{
GenerateGLSLShader(vs, shaderType, "", GetEmbeddedResource(glsl_blit_vert), glslBaseVer);