diff --git a/glhr.cpp b/glhr.cpp index 3163a02c..da4fe0dc 100644 --- a/glhr.cpp +++ b/glhr.cpp @@ -310,7 +310,7 @@ EX int compileShader(int type, const string& s) { } GLprogram::GLprogram(string vsh, string fsh) { - if(noshaders) { + if(noshaders || !vid.usingGL) { uFog = -1; uProjection = -1; uPP = -1;