diff --git a/programs/city.c b/programs/city.c index efae9bf..9ba0cb1 100644 --- a/programs/city.c +++ b/programs/city.c @@ -83,9 +83,6 @@ void clearScreen() static inline void setPixel(int x, int y, uint8_t red, uint8_t green, uint8_t blue) { - if (x < 0 || x >= S3L_RESOLUTION_X || y < 0 || y >= S3L_RESOLUTION_Y) - return; - uint32_t r = red & 0x000000FF; r = r << 24; diff --git a/programs/level.c b/programs/level.c index 73eb2af..4641e4f 100644 --- a/programs/level.c +++ b/programs/level.c @@ -55,9 +55,6 @@ void clearScreen() static inline void setPixel(int x, int y, uint8_t red, uint8_t green, uint8_t blue) { - if (x < 0 || x >= S3L_RESOLUTION_X || y < 0 || y >= S3L_RESOLUTION_Y) - return; - uint32_t r = red & 0x000000FF; r = r << 24;