Do not assert when drawing a transparent solid colour

This commit is contained in:
Gymnasiast authored and Michael Steenbeek committed 2024-05-26 12:35:41 +02:00
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)
{