mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 10:49:48 +02:00
ressources are rendered a bit nicer in the map preview ( glVertex2f instead if glVertex2i )
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user