summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-04-20 14:29:17 -0700
committerEric Anholt <eric@anholt.net>2009-04-21 15:25:58 -0700
commitc774ef282bfb0c594479bbab3527fe5fda2a8559 (patch)
tree44b75cbd0c866add6ce7ac05d266daa1c2a7a20a /src
parent75c531b9652b3919ddbf51f8eec804e6bdbb2331 (diff)
downloadxf86-video-intel-c774ef282bfb0c594479bbab3527fe5fda2a8559.tar.gz
xf86-video-intel-c774ef282bfb0c594479bbab3527fe5fda2a8559.tar.bz2
xf86-video-intel-c774ef282bfb0c594479bbab3527fe5fda2a8559.zip
Remove dead mono cursor load code.
Diffstat (limited to 'src')
-rw-r--r--src/i830_cursor.c13
-rw-r--r--src/i830_display.c1
2 files changed, 0 insertions, 14 deletions
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