1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed a crash when displaying inventory with OpenGL off

This commit is contained in:
Zeno Rogue 2020-02-07 18:34:47 +01:00
parent 602ee9df0c
commit 5cbe61a823

View File

@ -310,7 +310,7 @@ EX int compileShader(int type, const string& s) {
} }
GLprogram::GLprogram(string vsh, string fsh) { GLprogram::GLprogram(string vsh, string fsh) {
if(noshaders) { if(noshaders || !vid.usingGL) {
uFog = -1; uFog = -1;
uProjection = -1; uProjection = -1;
uPP = -1; uPP = -1;