st/va: Fix vaSyncSurface with no outstanding operation
authorMark Thompson <sw@jkqxz.net>
Mon, 26 Sep 2016 22:22:31 +0000 (23:22 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 27 Sep 2016 12:21:44 +0000 (14:21 +0200)
commita543f231d712dbdfd309ff589766179c5cb32b20
treea2e80e7eb6c80fd55787524c1a5925b529e933aa
parentdf920367bf85d3a326da5928a73f35844a4a8c72
st/va: Fix vaSyncSurface with no outstanding operation

Fixes crash if the application doesn't do what the state tracker expects.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/surface.c