summaryrefslogtreecommitdiffstats
path: root/include/D3D9
diff options
context:
space:
mode:
authorTiziano Bacocco <[email protected]>2015-01-19 15:27:38 +0100
committerAxel Davy <[email protected]>2015-02-06 00:07:19 +0100
commit50f0e011da23945cb2219bf71c4dc7b1aeb5044f (patch)
tree7e9653844b4f49f9b594c246ed74ca7bf6a9e957 /include/D3D9
parentdfe5e84e74b184748c48cf07d58c79c2c5685a2d (diff)
st/nine: Setting D3DRS_ALPHAFUNC to 0 means D3DCMP_NEVER
Reviewed-by: Axel Davy <[email protected]> Signed-off-by: Tiziano Bacocco <[email protected]>
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 5020934ddfe..e96f751be4b 100644
--- a/include/D3D9/d3d9types.h
+++ b/include/D3D9/d3d9types.h
@@ -472,6 +472,7 @@ typedef enum _D3DBUSTYPE {
} D3DBUSTYPE;
typedef enum _D3DCMPFUNC {
+ D3DCMP_NEVER_ZERO = 0, //Needed to avoid warnings
D3DCMP_NEVER = 1,
D3DCMP_LESS = 2,
D3DCMP_EQUAL = 3,