diff options
author | Jerome Glisse <jglisse@redhat.com> | 2012-02-07 15:04:37 -0500 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2012-02-07 15:06:58 -0500 |
commit | c8f104d38870f14049402bbc14f662c151caeeef (patch) | |
tree | e87c617081a23af02d22f25e186c4409c3207102 /src/evergreen_textured_videofuncs.c | |
parent | 615033f2b5e3817e335e9d022fc9fdcf8ac8b11a (diff) |
radeon: fix tiling for weird resolution
Should also fix xv for some case.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/evergreen_textured_videofuncs.c')
-rw-r--r-- | src/evergreen_textured_videofuncs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evergreen_textured_videofuncs.c b/src/evergreen_textured_videofuncs.c index 4cf86403..94cb7fcc 100644 --- a/src/evergreen_textured_videofuncs.c +++ b/src/evergreen_textured_videofuncs.c @@ -159,9 +159,6 @@ EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) dst_obj.bo = radeon_get_pixmap_bo(pPixmap); dst_obj.tiling_flags = radeon_get_pixmap_tiling(pPixmap); dst_obj.surface = radeon_get_pixmap_surface(pPixmap); - if (dst_obj.surface->npix_x != pPixmap->drawable.width) { - dst_obj.surface = NULL; - } dst_obj.pitch = exaGetPixmapPitch(pPixmap) / (pPixmap->drawable.bitsPerPixel / 8); |