summaryrefslogtreecommitdiff
path: root/vmwgfx/vmwgfx_tex_video.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-06-21 00:13:32 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2011-06-22 22:37:00 +0200
commit3650be74d5da602653b2b1d3cf3a6bb5a9cb3539 (patch)
tree0b810ae23c7a2c9f84c4f84563d3b3c18fffb404 /vmwgfx/vmwgfx_tex_video.c
parent63d7ddb35fe8b6743de182b73e6967f97f6a7eba (diff)
vmwgfx: Try to match created hardware formats with the dri state tracker.
Diffstat (limited to 'vmwgfx/vmwgfx_tex_video.c')
-rw-r--r--vmwgfx/vmwgfx_tex_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmwgfx/vmwgfx_tex_video.c b/vmwgfx/vmwgfx_tex_video.c
index fb8f41e..c357f06 100644
--- a/vmwgfx/vmwgfx_tex_video.c
+++ b/vmwgfx/vmwgfx_tex_video.c
@@ -455,7 +455,7 @@ display_video(ScreenPtr pScreen, struct xorg_xv_port_priv *pPriv, int id,
REGION_NULL(pScreen, &reg);
- if (!vmwgfx_pixmap_validate_hw(pPixmap, &reg, XA_FLAG_RENDER_TARGET, 0))
+ if (!vmwgfx_pixmap_validate_hw(pPixmap, &reg, 0, XA_FLAG_RENDER_TARGET, 0))
goto out_no_dst;
hdtv = ((src_w >= RES_720P_X) && (src_h >= RES_720P_Y));