fixed a crash without OpenGL

This commit is contained in:
Zeno Rogue 2020-11-07 19:26:11 +01:00
parent b6202f5443
commit b3db152ee6
1 changed files with 9 additions and 0 deletions

View File

@ -343,6 +343,15 @@ GLprogram::GLprogram(string vsh, string fsh) {
uAlpha = -1;
uLevelLines = -1;
uFogColor = -1;
uColor = tTexture = tInvExpTable = tAirMap = -1;
uFogBase = -1;
uPRECX = uPRECY = uPRECZ = uIndexSL = -1;
uSV = uRadarTransform = -1;
uRotCos = -1;
uRotSin = -1;
uRotNil = -1;
return;
}