[Spice-commits] display/driver.c
Izik Eidus
izik at kemper.freedesktop.org
Mon Apr 5 15:51:45 PDT 2010
display/driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 316b01606181519f628a6f95ec9db6be38939069
Author: Izik Eidus <ieidus at redhat.com>
Date: Tue Apr 6 01:56:03 2010 +0300
qxl: fix small race when entering and exiting to vga mode
So there was a small race when the vram memslot is deleted
however we still got commands to create device manged bitmaps...
Tried it with zillion times entering and exiting vga this time :)
Signed-off-by: Izik Eidus <ieidus at redhat.com>
diff --git a/display/driver.c b/display/driver.c
index 321d6fe..a7e168d 100644
--- a/display/driver.c
+++ b/display/driver.c
@@ -1368,7 +1368,7 @@ HBITMAP APIENTRY DrvCreateDeviceBitmap(DHPDEV dhpdev, SIZEL size, ULONG format)
pdev = (PDev *)dhpdev;
- if (!pdev->dd_initialized) {
+ if (!pdev->dd_initialized || !pdev->dd_slot_initialized) {
return 0;
}
More information about the Spice-commits
mailing list