mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Do not assert when drawing a transparent solid colour
This commit is contained in:
committed by
Michael Steenbeek
parent
8a181b5513
commit
30dca0f03e
@@ -803,8 +803,6 @@ void OpenGLDrawingContext::DrawSpriteSolid(DrawPixelInfo& dpi, const ImageId ima
|
||||
{
|
||||
CalculcateClipping(dpi);
|
||||
|
||||
assert((colour & 0xFF) > 0u);
|
||||
|
||||
auto g1Element = GfxGetG1Element(image);
|
||||
if (g1Element == nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user