forked from rosebudai/OpenRCT2-Web
Do not assert when drawing a transparent solid colour
This commit is contained in:
1 parent
8a181b5513
commit
30dca0f03e
1 file changed
-2
@@ -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