mi: drop unused SWAPPT() macro

Leftover of dropping mfb about 1.5 decades ago.

Fixes: f31bd087e8
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1499>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-22 18:49:15 +02:00 committed by Marge Bot
parent 62a0a58717
commit 98104c969d

View File

@ -109,9 +109,6 @@ extern _X_EXPORT void miSetZeroLineBias(ScreenPtr /* pScreen */ ,
#define SWAPINT(i, j) \ #define SWAPINT(i, j) \
{ int _t = i; i = j; j = _t; } { int _t = i; i = j; j = _t; }
#define SWAPPT(i, j) \
{ DDXPointRec _t; _t = i; i = j; j = _t; }
#define SWAPINT_PAIR(x1, y1, x2, y2)\ #define SWAPINT_PAIR(x1, y1, x2, y2)\
{ int t = x1; x1 = x2; x2 = t;\ { int t = x1; x1 = x2; x2 = t;\
t = y1; y1 = y2; y2 = t;\ t = y1; y1 = y2; y2 = t;\