st/va: declare vlVaBuffer before vlVaContext
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 2 Dec 2016 16:26:51 +0000 (16:26 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Dec 2016 17:03:57 +0000 (17:03 +0000)
commit48416b6f4d3ffa46168b8b4a46a262562cd7473a
tree51f47311f9474a6f2019cbaaa8c0ef20114bf16d
parent5a585d019e64462625128c4605c4bf48b957c70d
st/va: declare vlVaBuffer before vlVaContext

And declare coded_buf in vlVaContext as "vlVaBuffer *" instead of
"struct vlVaBuffer *".

This fixes several warnings later about assignment from incompatible
pointer type.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/state_trackers/va/va_private.h