Remove a little more 3DS gunk
This commit is contained in:
parent
c7dd1520c6
commit
faa808e238
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue