Revert "Ensure DrawRectangle() stroke outline will always be visible"

This reverts commit 74d47d8173 because
it breaks DrawRectangle in outline mode because it modify line width.
This commit is contained in:
jean-pierre charras 2018-01-21 10:14:02 +01:00
parent 6b9866de8b
commit 2fd00b1d23
1 changed files with 0 additions and 3 deletions

View File

@ -688,9 +688,6 @@ void OPENGL_GAL::DrawRectangle( const VECTOR2D& aStartPoint, const VECTOR2D& aEn
// Stroke the outline
if( isStrokeEnabled )
{
// Ensure stroke will be visible at current zoom
lineWidth = std::max( lineWidth, ( 1.01 / worldScale ) );
currentManager->Color( strokeColor.r, strokeColor.g, strokeColor.b, strokeColor.a );
std::deque<VECTOR2D> pointList;