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:
parent
602ee9df0c
commit
5cbe61a823
2
glhr.cpp
2
glhr.cpp
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user