summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/kdrive/src/kaa.c1
-rw-r--r--hw/kdrive/src/koffscreen.c11
2 files changed, 4 insertions, 8 deletions
diff --git a/hw/kdrive/src/kaa.c b/hw/kdrive/src/kaa.c
index 139c9fcf1..9b1457d77 100644
--- a/hw/kdrive/src/kaa.c
+++ b/hw/kdrive/src/kaa.c
@@ -262,7 +262,6 @@ kaaDestroyPixmap (PixmapPtr pPixmap)
pPixmap->drawable.width,
pPixmap->drawable.height));
/* Free the offscreen area */
- KdCheckSync (pScreen);
KdOffscreenFree (pKaaPixmap->area);
pPixmap->devPrivate = pKaaPixmap->devPrivate;
pPixmap->devKind = pKaaPixmap->devKind;
diff --git a/hw/kdrive/src/koffscreen.c b/hw/kdrive/src/koffscreen.c
index 65c15a284..a8476ab6f 100644
--- a/hw/kdrive/src/koffscreen.c
+++ b/hw/kdrive/src/koffscreen.c
@@ -71,7 +71,6 @@ static void
KdOffscreenKickOut (KdOffscreenArea *area)
{
RealOffscreenArea *real_area = (RealOffscreenArea *) area;
- KdCheckSync (area->screen);
if (real_area->save)
(*real_area->save) (area);
KdOffscreenFree (area);
@@ -209,14 +208,12 @@ KdOffscreenSwapOut (ScreenPtr pScreen)
if (!area)
break;
- if (area->area.screen)
+ if (!area->area.screen)
{
- KdOffscreenKickOut (&area->area);
- continue;
+ area = area->next;
+ if (!area)
+ break;
}
- area = area->next;
- if (!area)
- break;
assert (area->area.screen);
KdOffscreenKickOut (&area->area);
KdOffscreenValidate (pScreen);