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/r600_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/r600_textured_videofuncs.c')
-rw-r--r-- | src/r600_textured_videofuncs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c index fbaa9b15..8b12cafb 100644 --- a/src/r600_textured_videofuncs.c +++ b/src/r600_textured_videofuncs.c @@ -171,9 +171,6 @@ R600DisplayTexturedVideo(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; - } } else #endif { |