From f63262e2f112a348c45f0dcecd891c8b6d9c5ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Wed, 8 Feb 2012 10:28:45 +0100 Subject: evergreen: Initialize source surface member for textured video. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes crash reported by Ole Salscheider on IRC. Signed-off-by: Michel Dänzer --- src/evergreen_textured_videofuncs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/evergreen_textured_videofuncs.c b/src/evergreen_textured_videofuncs.c index 94cb7fcc..8ca8e627 100644 --- a/src/evergreen_textured_videofuncs.c +++ b/src/evergreen_textured_videofuncs.c @@ -169,6 +169,7 @@ EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) src_obj.domain = RADEON_GEM_DOMAIN_VRAM | RADEON_GEM_DOMAIN_GTT; src_obj.bo = pPriv->src_bo[pPriv->currentBuffer]; src_obj.tiling_flags = 0; + src_obj.surface = NULL; dst_obj.width = pPixmap->drawable.width; dst_obj.height = pPixmap->drawable.height; -- cgit v1.2.3