ressources are rendered a bit nicer in the map preview ( glVertex2f instead if glVertex2i )

This commit is contained in:
Titus Tscharntke 2010-09-16 00:02:07 +00:00
parent 3bfc7daddf
commit e23592f793
1 changed files with 1 additions and 1 deletions

View File

@ -3947,7 +3947,7 @@ void Renderer::renderMapPreview( const MapPreview *map, bool renderAll,
if ( renderAll && (map->getObject(i, j) != 0) && (map->getObject(i, j) != 10) ){
glPointSize(cellSize / 2.f);
glBegin(GL_POINTS);
glVertex2i(i * cellSize + cellSize / 2, clientH - j * cellSize - cellSize / 2);
glVertex2f(i * cellSize + cellSize / 2.f, clientH - j * cellSize - cellSize / 2.f);
glEnd();
}
}