mesa: set TargetIndex in VDPAURegister*SurfaceNV (v2)
authorMarek Olšák <marek.olsak@amd.com>
Tue, 27 Oct 2015 10:11:19 +0000 (11:11 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 28 Oct 2015 10:52:17 +0000 (11:52 +0100)
commit6a4dc1ad492d7d53c5c17e6eb975f0ed44b6741d
treefa4b5c53c3a635a226aef7f117368c6190484054
parentbfc73ff10eafad59b6ae9ca3991f9f1a3700b3a1
mesa: set TargetIndex in VDPAURegister*SurfaceNV (v2)

We initialized Target, but not TargetIndex.
This is required since 7d7dd1871174905dfdd3ca874a09d9.

v2: do it in the right place. Noticed by Brian Paul.

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

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/vdpau.c