diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2012-02-08 10:28:45 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2012-02-08 10:44:14 +0100 |
commit | f63262e2f112a348c45f0dcecd891c8b6d9c5ee8 (patch) | |
tree | cceece665b217a1ce2630969aa30508b598f3c07 | |
parent | c8f104d38870f14049402bbc14f662c151caeeef (diff) |
evergreen: Initialize source surface member for textured video.
Fixes crash reported by Ole Salscheider on IRC.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r-- | src/evergreen_textured_videofuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |