Permalink
Browse files

improve grid drawing

  • Loading branch information...
jacob1 committed Aug 12, 2014
1 parent 986b25b commit d4359184f2c9b03f79bcf9a7bc5d825870a44d41
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/graphics/Renderer.cpp
@@ -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);
}
}

0 comments on commit d435918

Please sign in to comment.