st/nine: Return E_FAIL for unused vertexdeclaration type
authorPatrick Rudolph <siro@das-labor.org>
Thu, 15 Jan 2015 08:43:33 +0000 (09:43 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 5 Feb 2015 23:07:19 +0000 (00:07 +0100)
commit33617ef296efac88cd7b8b760ff3a8c47669e424
tree358db8729c3fb55ee68329aa71211fd31e78e230
parentfaf94f6eeaccf093025ad6f1e2bd9df6eafbe969
st/nine: Return E_FAIL for unused vertexdeclaration type

Add returncode E_FAIL.
Return E_FAIL for any vertexdeclaration element with type unused.

Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
include/D3D9/d3d9types.h
src/gallium/state_trackers/nine/vertexdeclaration9.c