mirror of https://github.com/OpenRCT2/OpenRCT2.git
Do not assert when drawing a transparent solid colour
This commit is contained in:
parent
e0ca5eb0b7
commit
5c7b97388f
|
@ -802,8 +802,6 @@ void OpenGLDrawingContext::DrawSpriteSolid(DrawPixelInfo& dpi, const ImageId ima
|
|||
{
|
||||
CalculcateClipping(dpi);
|
||||
|
||||
assert((colour & 0xFF) > 0u);
|
||||
|
||||
auto g1Element = GfxGetG1Element(image);
|
||||
if (g1Element == nullptr)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue