diff options
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/PlatWin.cxx | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 11db37a6a..1447a13d5 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -654,9 +654,7 @@ void SurfaceGDI::BrushColour(ColourDesired back) noexcept {  		brush = {};  		brushOld = {};  	} -	// Only ever want pure, non-dithered brushes -	const ColourDesired colourNearest = ColourDesired(::GetNearestColor(hdc, back.AsInteger())); -	brush = ::CreateSolidBrush(colourNearest.AsInteger()); +	brush = ::CreateSolidBrush(back.AsInteger());  	brushOld = SelectBrush(hdc, brush);  }  | 
