summaryrefslogtreecommitdiffstats
path: root/include/D3D9
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2015-01-15 09:43:33 +0100
committerAxel Davy <axel.davy@ens.fr>2015-02-06 00:07:19 +0100
commit33617ef296efac88cd7b8b760ff3a8c47669e424 (patch)
tree358db8729c3fb55ee68329aa71211fd31e78e230 /include/D3D9
parentfaf94f6eeaccf093025ad6f1e2bd9df6eafbe969 (diff)
downloadexternal_mesa3d-33617ef296efac88cd7b8b760ff3a8c47669e424.zip
external_mesa3d-33617ef296efac88cd7b8b760ff3a8c47669e424.tar.gz
external_mesa3d-33617ef296efac88cd7b8b760ff3a8c47669e424.tar.bz2
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>
Diffstat (limited to 'include/D3D9')
-rw-r--r--include/D3D9/d3d9types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/D3D9/d3d9types.h b/include/D3D9/d3d9types.h
index e0f1e72..5020934 100644
--- a/include/D3D9/d3d9types.h
+++ b/include/D3D9/d3d9types.h
@@ -50,6 +50,7 @@
#define E_OUTOFMEMORY MAKE_HRESULT(1, 0x007, 14)
#define E_NOINTERFACE MAKE_HRESULT(1, 0x000, 0x4002)
#define E_POINTER MAKE_HRESULT(1, 0x000, 0x4003)
+#define E_FAIL MAKE_HRESULT(1, 0x000, 0x4005)
#define S_OK ((HRESULT)0)
#define S_FALSE ((HRESULT)1)