summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-24 17:04:28 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-24 17:14:09 +0200
commit26284725223a198bac24312b7b93714188294146 (patch)
tree74c97829fba4e9b10a6605e6556ce40a88c1fa0d
parent0ed3071eff5e4560b5c3e2ca6bfc3a9aee4de5ad (diff)
drop unused XGI_ARGB_CURSOR code path
It's always disabled, so probably no need for it anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/6>
-rw-r--r--src/xgi.h5
-rw-r--r--src/xgi_cursor.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/src/xgi.h b/src/xgi.h
index e7a5f8b..80cf23f 100644
--- a/src/xgi.h
+++ b/src/xgi.h
@@ -189,11 +189,6 @@ extern Bool g_bRunTimeDebug;
#define XGI_XINERAMA_MAJOR_VERSION 1
#define XGI_XINERAMA_MINOR_VERSION 1
-/* Jong 09/28/2007; disable this because it causes cursor drawing incorrectly */
-#if 0 /* Include code for color hardware cursors */
-#define XGI_ARGB_CURSOR
-#endif
-
#if 0 /* Include YPbPr support on VB */
#define ENABLE_YPBPR
#endif
diff --git a/src/xgi_cursor.c b/src/xgi_cursor.c
index 6e8cdd1..d52e69e 100644
--- a/src/xgi_cursor.c
+++ b/src/xgi_cursor.c
@@ -273,12 +273,6 @@ XGIHWCursorInit(ScreenPtr pScreen)
infoPtr->UseHWCursor = Volari_UseHWCursor;
/* infoPtr->RealizeCursor = XGIRealizeCursorColor ; // */
- /* Jong 09/19/2007; Is this required */
- #ifdef XGI_ARGB_CURSOR
- infoPtr->UseHWCursorARGB = Volari_UseHWCursorARGB ;
- infoPtr->LoadCursorARGB = Volari_LoadCursorARGB ;
- #endif
-
infoPtr->Flags =
HARDWARE_CURSOR_TRUECOLOR_AT_8BPP |
HARDWARE_CURSOR_INVERT_MASK |