mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 10:17:56 +00:00
fixed a crash without OpenGL
This commit is contained in:
9
glhr.cpp
9
glhr.cpp
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user