summaryrefslogtreecommitdiff
path: root/common/gdi_canvas.h
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2010-04-09 05:06:32 +0300
committerIzik Eidus <ieidus@redhat.com>2010-04-09 05:09:02 +0300
commit22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0 (patch)
treefb901b561d6cafc01063368733c770a28342b49c /common/gdi_canvas.h
parent187a4230e511e8f13bdf635307db5251405cc7f5 (diff)
spice: win32 client: fix gdi locking
While the fix could have been more effective, it seems like this patch stream better with the coding logic that was there..., maybe later we will want to change the locking into more effective way. (There is just the primary surface to protect in reiality) Signed-off-by: Izik Eidus <ieidus@redhat.com>
Diffstat (limited to 'common/gdi_canvas.h')
-rw-r--r--common/gdi_canvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gdi_canvas.h b/common/gdi_canvas.h
index 73d6978..e0a43d5 100644
--- a/common/gdi_canvas.h
+++ b/common/gdi_canvas.h
@@ -34,7 +34,7 @@ typedef struct {
} GdiImage;
SpiceCanvas *gdi_canvas_create(int width, int height,
- HDC dc, class Mutex *lock, int bits,
+ HDC dc, class RecurciveMutex *lock, int bits,
SpiceImageCache *bits_cache,
SpicePaletteCache *palette_cache,
SpiceImageSurfaces *surfaces,