DirectDraw status updated.
Use cooperative window for drawing in xlib implementation if possible.
Slightly restructured IDirectDrawSurface::Blt so it doesn't crash.
diff --git a/graphics/wing.c b/graphics/wing.c
index 0216670..3654cad 100644
--- a/graphics/wing.c
+++ b/graphics/wing.c
@@ -148,7 +148,7 @@
WORD sel = 0;
TSXShmAttach(display, &p->si);
- bmpObjPtr->pixmap = XShmCreatePixmap(display, rootWindow,
+ bmpObjPtr->pixmap = TSXShmCreatePixmap(display, rootWindow,
p->si.shmaddr, &p->si, bmpObjPtr->bitmap.bmWidth,
bmpObjPtr->bitmap.bmHeight, bmpi->biBitCount );
if( bmpObjPtr->pixmap )