Skip to content

Commit

Permalink
fix typo in varying parse code
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 authored and dpjudas committed Jan 27, 2025
1 parent 0d976d3 commit d09c749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r_data/gldefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d09c749

Please sign in to comment.