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:
parent
6b9866de8b
commit
2fd00b1d23
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue