From d97fde1d2764f0ec78fbeae77511e1e52da2c1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20H=C3=A4user?= <8659494+mhaeuser@users.noreply.github.com> Date: Mon, 1 Mar 2021 17:42:47 +0100 Subject: [PATCH] OpenCanopy: Remove redundant ASSERTs --- Platform/OpenCanopy/OpenCanopy.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Platform/OpenCanopy/OpenCanopy.c b/Platform/OpenCanopy/OpenCanopy.c index b8d01235..176e9775 100644 --- a/Platform/OpenCanopy/OpenCanopy.c +++ b/Platform/OpenCanopy/OpenCanopy.c @@ -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(). //