Remove a little more 3DS gunk

This commit is contained in:
John Lorentzson 2025-04-06 22:57:11 +02:00
parent c7dd1520c6
commit faa808e238

View file

@ -208,18 +208,10 @@ ATTRIBUTE_HOT void RenderBackend_ColourFill(RenderBackend_Surface *surface, cons
{ {
RenderBackend_Rect rect_clamped; RenderBackend_Rect rect_clamped;
#ifdef __3DS__
// Rotate
rect_clamped.left = surface->width - rect->bottom;
rect_clamped.top = rect->left;
rect_clamped.right = surface->width - rect->top;
rect_clamped.bottom = rect->right;
#else
rect_clamped.left = rect->left; rect_clamped.left = rect->left;
rect_clamped.top = rect->top; rect_clamped.top = rect->top;
rect_clamped.right = rect->right; rect_clamped.right = rect->right;
rect_clamped.bottom = rect->bottom; rect_clamped.bottom = rect->bottom;
#endif
// Clamp the rect so it doesn't write outside the pixel buffer // Clamp the rect so it doesn't write outside the pixel buffer
long overflow; long overflow;