diff --git a/src/Backends/Rendering/Software.cpp b/src/Backends/Rendering/Software.cpp index bd09da41..110a1bc5 100644 --- a/src/Backends/Rendering/Software.cpp +++ b/src/Backends/Rendering/Software.cpp @@ -208,18 +208,10 @@ ATTRIBUTE_HOT void RenderBackend_ColourFill(RenderBackend_Surface *surface, cons { 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.top = rect->top; rect_clamped.right = rect->right; rect_clamped.bottom = rect->bottom; -#endif // Clamp the rect so it doesn't write outside the pixel buffer long overflow;