summaryrefslogtreecommitdiff
path: root/emu/port/win-x11-old.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/port/win-x11-old.c')
-rw-r--r--emu/port/win-x11-old.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/emu/port/win-x11-old.c b/emu/port/win-x11-old.c
index aebcf199..e06d455c 100644
--- a/emu/port/win-x11-old.c
+++ b/emu/port/win-x11-old.c
@@ -633,7 +633,9 @@ xexpose(XEvent *e)
r.min.y = xe->y;
r.max.x = xe->x + xe->width;
r.max.y = xe->y + xe->height;
- drawxflush(r);
+ drawqlock();
+ flushmemscreen(r);
+ drawqunlock();
}