- trying again: fix shader targets being case sensitive

This commit is contained in:
Rachael Alexanderson 2017-11-19 04:48:26 -05:00
parent 351de94311
commit de19efa79d

View file

@ -682,6 +682,7 @@ void gl_ParseHardwareShader(FScanner &sc, int deflump)
PostProcessShader shaderdesc; PostProcessShader shaderdesc;
shaderdesc.Target = sc.String; shaderdesc.Target = sc.String;
shaderdesc.Target.ToLower();
bool validTarget = false; bool validTarget = false;
if (sc.Compare("beforebloom")) validTarget = true; if (sc.Compare("beforebloom")) validTarget = true;