Skip to content

Commit

Permalink
Automap: Smaller maximum GL line width
Browse files Browse the repository at this point in the history
With certain large resolutions the lines were just too thick.
  • Loading branch information
skyjake committed Mar 18, 2012
1 parent 279934f commit 4104779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/hu_automap.c
Expand Up @@ -1437,7 +1437,7 @@ void UIAutomap_Drawer(uiwidget_t* obj, const Point2Raw* offset)
DGL_Translatef(-vx, -vy, 0);

oldLineWidth = DGL_GetFloat(DGL_LINE_WIDTH);
DGL_SetFloat(DGL_LINE_WIDTH, MAX_OF(.5f, cfg.automapLineWidth * aspectScale));
DGL_SetFloat(DGL_LINE_WIDTH, MINMAX_OF(.5f, cfg.automapLineWidth * aspectScale, 3.f));

/*#if _DEBUG
{ // Draw the rectangle described by the visible bounds.
Expand Down

0 comments on commit 4104779

Please sign in to comment.