diff options
Diffstat (limited to 'src/apm_cursor.c')
-rw-r--r-- | src/apm_cursor.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/apm_cursor.c b/src/apm_cursor.c index 3f26f0d..4bf0f98 100644 --- a/src/apm_cursor.c +++ b/src/apm_cursor.c @@ -84,6 +84,17 @@ int ApmHWCursorInit(ScreenPtr pScreen) infoPtr->ShowCursor = ApmShowCursor; infoPtr->UseHWCursor = ApmUseHWCursor; + /*ErrorF("%s %s: %s: Using hardware cursor (XAA).\n", + XCONFIG_PROBED, vga256InfoRec.name, vga256InfoRec.chipset); + + if(XAACursorInfoRec.Flags & USE_HARDWARE_CURSOR) { + vgaHWCursor.Init = XAACursorInit; + vgaHWCursor.Initialized = TRUE; + vgaHWCursor.Restore = XAARestoreCursor; + vgaHWCursor.Warp = XAAWarpCursor; + vgaHWCursor.QueryBestSize = XAAQueryBestSize; + }*/ + /* Set up the convert table for the input cursor data */ for (i = 0; i < 256; i++) ConvertTable[i] = ((~i) & 0xAA) | (i & (i >> 1) & 0x55); |