From c774ef282bfb0c594479bbab3527fe5fda2a8559 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 20 Apr 2009 14:29:17 -0700 Subject: Remove dead mono cursor load code. --- src/i830_cursor.c | 13 ------------- src/i830_display.c | 1 - 2 files changed, 14 deletions(-) (limited to 'src') diff --git a/src/i830_cursor.c b/src/i830_cursor.c index 43a65cb9a..e1cf0bf6e 100644 --- a/src/i830_cursor.c +++ b/src/i830_cursor.c @@ -136,19 +136,6 @@ I830CursorInit(ScreenPtr pScreen) HARDWARE_CURSOR_ARGB)); } -void -i830_crtc_load_cursor_image (xf86CrtcPtr crtc, unsigned char *src) -{ - I830Ptr pI830 = I830PTR(crtc->scrn); - I830CrtcPrivatePtr intel_crtc = crtc->driver_private; - uint8_t *pcurs; - - pcurs = pI830->FbBase + intel_crtc->cursor_offset; - - intel_crtc->cursor_is_argb = FALSE; - memcpy (pcurs, src, I810_CURSOR_X * I810_CURSOR_Y / 4); -} - #ifdef ARGB_CURSOR void i830_crtc_load_cursor_argb (xf86CrtcPtr crtc, CARD32 *image) diff --git a/src/i830_display.c b/src/i830_display.c index dd1310fad..2a16cc370 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -2400,7 +2400,6 @@ static const xf86CrtcFuncsRec i830_crtc_funcs = { .set_cursor_position = i830_crtc_set_cursor_position, .show_cursor = i830_crtc_show_cursor, .hide_cursor = i830_crtc_hide_cursor, -/* .load_cursor_image = i830_crtc_load_cursor_image, */ .load_cursor_argb = i830_crtc_load_cursor_argb, .destroy = NULL, /* XXX */ #if RANDR_13_INTERFACE -- cgit v1.2.3