OpenCanopy: Remove redundant ASSERTs

This commit is contained in:
Marvin Häuser 2021-03-01 17:42:47 +01:00 committed by Vitaly Cheptsov
parent da80bd038c
commit d97fde1d27

View File

@ -287,10 +287,6 @@ GuiDrawToBufferFill (
ASSERT (DrawContext->Screen != NULL);
ASSERT (Width > 0);
ASSERT (Height > 0);
ASSERT (PosX + Width >= 0);
ASSERT (PosY + Height >= 0);
ASSERT (PosX + Width <= MAX_UINT32);
ASSERT (PosY + Height <= MAX_UINT32);
//
// Screen cropping happens in GuiDrawScreen().
//