summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-03-22 14:08:19 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-03-22 14:08:19 +0000
commit1e579c41545ac4a7ed5b8dd7fd79dd7dad120558 (patch)
tree926fd64329b437bb364405ebbccf863a8f02b046 /compat
parent4ef44bf1540754c3e723eacbaae0c69854de315a (diff)
compat: Don't redefine D3DERR_* macros.
Diffstat (limited to 'compat')
-rw-r--r--compat/d3derr.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/compat/d3derr.hpp b/compat/d3derr.hpp
index 39ebc9ab..4d949f09 100644
--- a/compat/d3derr.hpp
+++ b/compat/d3derr.hpp
@@ -41,27 +41,6 @@
#include <windows.h>
-#ifndef _FACD3D
-#define _FACD3D 0x876
-#endif
-
-#ifndef MAKE_D3DHRESULT
-#define MAKE_D3DHRESULT(code) MAKE_HRESULT(1, _FACD3D, code)
-#endif
-
-#ifndef MAKE_D3DSTATUS
-#define MAKE_D3DSTATUS(code) MAKE_HRESULT(0, _FACD3D, code)
-#endif
-
-#ifndef D3DERR_INVALIDCALL
-#define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156)
-#endif
-
-#ifndef D3DERR_WASSTILLDRAWING
-#define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540)
-#endif
-
-
#ifndef DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED
#define DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED MAKE_DXGI_HRESULT(35)
#endif