summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-12-30 11:27:53 -0500
committerAdam Jackson <ajax@redhat.com>2009-12-30 11:27:53 -0500
commit1a31829b966ceed444a3b3f7e91c5ae04d82c3ba (patch)
tree9f529d62590190136881c4895144805b4d19f432
parentad1e7b4a4cacc1a157eb533e2a55a54b386949da (diff)
downloadxorg-driver-xf86-video-vesa-1a31829b966ceed444a3b3f7e91c5ae04d82c3ba.tar.gz
Use own thunk function instead of shadowUpdatePackedWeak
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/vesa.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/vesa.c b/src/vesa.c
index bfdda65..3b4423c 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -137,6 +137,12 @@ VESAWindowWindowed(ScreenPtr pScreen, CARD32 row, CARD32 offset, int mode,
(offset - pVesa->windowAoffset));
}
+static void
+vesaUpdatePacked(ScreenPtr pScreen, shadowBufPtr pBuf)
+{
+ shadowUpdatePacked(pScreen, pBuf);
+}
+
static Bool VESADGAInit(ScrnInfoPtr pScrn, ScreenPtr pScreen);
enum GenericTypes
@@ -1025,11 +1031,11 @@ VESAScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
if (pVesa->shadowFB) {
if (pVesa->mapPhys == 0xa0000) { /* Windowed */
- pVesa->update = shadowUpdatePackedWeak();
+ pVesa->update = vesaUpdatePacked;
pVesa->window = VESAWindowWindowed;
}
else { /* Linear */
- pVesa->update = shadowUpdatePackedWeak();
+ pVesa->update = vesaUpdatePacked;
pVesa->window = VESAWindowLinear;
}