Skip to content

Commit

Permalink
Remove unused vars and debug comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Mar 12, 2018
1 parent b7b9750 commit e4c6f43
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions GPU/Common/ShaderUniforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ void ComputeGuardband(float gb[4], float zmin) {
// this way and we have space for the NAN in the uniform.
// We also assume that everything behind the near clipping plane gets clipped and will thus not in reality
// exceed the guardband. This is a bit rough but should be ok.
float offsetX = gstate.getOffsetX();
float offsetY = gstate.getOffsetY();
float nearPlane = 0.0;
gb[0] = (2048.0f / (vpWidth*0.5f));
gb[1] = (2048.0f / (vpHeight*0.5f));
gb[2] = zmin;
Expand Down

0 comments on commit e4c6f43

Please sign in to comment.