fix typo in varying parse code

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-27 20:54:12 -03:00 committed by Magnus Norddahl
commit d09c749e1d

View file

@ -1917,7 +1917,7 @@ class GLDefsParser
varyingProperty = "noperspective";
sc.MustGetString();
}
else if (sc.Compare("flat") == 0)
else if (sc.Compare("flat"))
{
varyingProperty = "flat";
sc.MustGetString();