Skip to content

Commit

Permalink
Reorder depthmap and coastmap SetUniform() calls in CBumpWater::CBump…
Browse files Browse the repository at this point in the history
…Water()
  • Loading branch information
lhog committed Jan 4, 2023
1 parent ce655d5 commit 43ba124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rendering/Env/BumpWater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ CBumpWater::CBumpWater()
waterShader->SetUniform("foam" , 3 );
waterShader->SetUniform("reflection" , 4 );
waterShader->SetUniform("refraction" , 5 );
waterShader->SetUniform("depthmap" , 7 );
waterShader->SetUniform("coastmap" , 6 );
waterShader->SetUniform("depthmap" , 7 );
waterShader->SetUniform("waverand" , 8 );
waterShader->SetUniform("shadowmap" , 9 );
waterShader->SetUniform("infotex" , 10);
Expand Down

0 comments on commit 43ba124

Please sign in to comment.