diff options
Diffstat (limited to 'vmwgfx/vmwgfx_xa_surface.c')
-rw-r--r-- | vmwgfx/vmwgfx_xa_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vmwgfx/vmwgfx_xa_surface.c b/vmwgfx/vmwgfx_xa_surface.c index 38f7473..a30b41c 100644 --- a/vmwgfx/vmwgfx_xa_surface.c +++ b/vmwgfx/vmwgfx_xa_surface.c @@ -114,7 +114,7 @@ vmwgfx_xa_format(enum _PictFormatShort format) /* * Choose formats and flags for a dri2 surface. */ -Bool +static Bool vmwgfx_hw_dri2_stage(PixmapPtr pixmap, unsigned int depth) { struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(pixmap); @@ -379,7 +379,7 @@ vmwgfx_hw_commit(PixmapPtr pixmap) new_flags, 1) != XA_ERR_NONE) return FALSE; vpix->xa_flags = new_flags; - } else if (!vmwgfx_create_hw(vsaa, pixmap, FALSE)) + } else if (!vmwgfx_create_hw(vsaa, pixmap)) return FALSE; return TRUE; |