1
0
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:
Gymnasiast
2024-05-09 02:45:35 +02:00
committed by Michael Steenbeek
parent 8a181b5513
commit 30dca0f03e

View File

@@ -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)
{