Skip to content

Commit

Permalink
improve grid drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 12, 2014
1 parent 986b25b commit d435918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/Renderer.cpp
Expand Up @@ -1155,9 +1155,9 @@ void Renderer::render_parts()
for (ny=0; ny<YRES; ny++)
for (nx=0; nx<XRES; nx++)
{
if (ny%(4*gridSize)==0)
if (ny%(4*gridSize) == 0)
blendpixel(nx, ny, 100, 100, 100, 80);
if (nx%(4*gridSize)==0)
if (nx%(4*gridSize) == 0 && ny%(4*gridSize) != 0)
blendpixel(nx, ny, 100, 100, 100, 80);
}
}
Expand Down

0 comments on commit d435918

Please sign in to comment.