[xserver-commit] xserver/hw/kdrive/src koffscreen.c,1.12,1.13
Keith Packard
xserver-commit@pdx.freedesktop.org
Tue, 18 Nov 2003 10:38:50 -0800
Committed by: keithp
Update of /cvs/xserver/xserver/hw/kdrive/src
In directory pdx:/tmp/cvs-serv16034/hw/kdrive/src
Modified Files:
koffscreen.c
Log Message:
* hw/kdrive/src/koffscreen.c: (KdOffscreenFree):
Reset available offscreen segment save function pointer.
(Not a functional change, just cleaning up a bit)
* hw/kdrive/vesa/vesa.c: (vesaEnable):
Reset the screen->memory_base value when frame buffer is
remapped. This makes sure new off-screen allocations point at
the newly mapped region rather than the old (now unmapped) region.
Index: koffscreen.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/src/koffscreen.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- koffscreen.c 17 Nov 2003 22:09:12 -0000 1.12
+++ koffscreen.c 18 Nov 2003 18:38:47 -0000 1.13
@@ -259,6 +259,7 @@
KdOffscreenValidate (pScreen);
area->state = KdOffscreenAvail;
+ area->save = 0;
/*
* Find previous area