Skip to content

Commit

Permalink
Merge pull request CelestiaProject#2 from LafuenteAstronomy/patch-1
Browse files Browse the repository at this point in the history
To keep the code up-to-date with the official repository
  • Loading branch information
GurrenLagannTSS committed Apr 8, 2020
2 parents 3193953 + e8fa4a5 commit e5b00e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/celengine/shadermanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ ShaderProperties::usesTangentSpaceLighting() const

bool operator<(const ShaderProperties& p0, const ShaderProperties& p1)
{
if (p0.simpleProps < p1.simpleProps)
return true;
if (p1.simpleProps < p0.simpleProps)
return false;

if (p0.texUsage < p1.texUsage)
return true;
if (p1.texUsage < p0.texUsage)
Expand Down

0 comments on commit e5b00e5

Please sign in to comment.