Skip to content

Commit

Permalink
#2132: Don't draw the grid in lighting mode due to overdraw effects
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Feb 12, 2021
1 parent d82be95 commit b8dbc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiant/camera/CamWnd.cpp
Expand Up @@ -708,7 +708,7 @@ void CamWnd::Cam_Draw()
glEnable(GL_LIGHT0);
}

if (getCameraSettings()->gridEnabled())
if (getCameraSettings()->gridEnabled() && getCameraSettings()->getRenderMode() != RENDER_MODE_LIGHTING)
{
drawGrid();
}
Expand Down

0 comments on commit b8dbc7d

Please sign in to comment.