vdpau: skip vlVdpOutputSurfacePutBitsNative with a zero-area rectangle
authorMarek Olšák <marek.olsak@amd.com>
Sun, 12 Feb 2017 14:48:48 +0000 (15:48 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 14 Feb 2017 20:47:51 +0000 (21:47 +0100)
commit0561b3c75af2e4bb216b686bf62ae9d89c584dc8
tree566eb8ab18a7984b1e43c4df3eebf6d8141cdcf4
parentc196efcf034279a9d55dce3a7f02807ac803f5f4
vdpau: skip vlVdpOutputSurfacePutBitsNative with a zero-area rectangle

This prevents errors:
"EE r600_texture.c:1571 r600_texture_transfer_map - failed to create
 temporary texture to hold untiled copy"

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99542

Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/output.c