st/vdpau: make query test for 2D support
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Mar 2020 23:49:01 +0000 (18:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 3 Apr 2020 01:40:35 +0000 (01:40 +0000)
commitd6368d404b7d69649b3d606c14dbf9610ba92494
tree08f85435544eafd89624c31fe4cd265dfe878126
parentc1cc79739a8745f2004917a2b170dba4124ef323
st/vdpau: make query test for 2D support

The 3D check has been there since the dawn of time, but I see no reason
for it, most likely a typo. When the surfaces are actually created, they
use the 2D resource type (as expected).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4108>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4108>
src/gallium/state_trackers/vdpau/query.c