summaryrefslogtreecommitdiff
path: root/vmwgfx/vmwgfx_xa_surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmwgfx/vmwgfx_xa_surface.c')
-rw-r--r--vmwgfx/vmwgfx_xa_surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmwgfx/vmwgfx_xa_surface.c b/vmwgfx/vmwgfx_xa_surface.c
index a30b41c..38f7473 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.
*/
-static Bool
+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))
+ } else if (!vmwgfx_create_hw(vsaa, pixmap, FALSE))
return FALSE;
return TRUE;