Removed dxerr.h from DX11 build.

This commit is contained in:
bkaradzic 2013-02-22 22:34:55 -08:00
parent 35d7d2ff1b
commit 6edd2991f3

View file

@ -6,7 +6,7 @@
#ifndef __RENDERER_D3D_H__ #ifndef __RENDERER_D3D_H__
#define __RENDERER_D3D_H__ #define __RENDERER_D3D_H__
#if BGFX_CONFIG_DEBUG && BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC #if BGFX_CONFIG_RENDERER_DIRECT3D9
# include <dxerr.h> # include <dxerr.h>
# pragma comment(lib, "dxerr.lib") # pragma comment(lib, "dxerr.lib")
# define DX_CHECK_EXTRA_F " (%s): %s" # define DX_CHECK_EXTRA_F " (%s): %s"
@ -14,7 +14,7 @@
#else #else
# define DX_CHECK_EXTRA_F "" # define DX_CHECK_EXTRA_F ""
# define DX_CHECK_EXTRA_ARGS # define DX_CHECK_EXTRA_ARGS
#endif // BGFX_CONFIG_DEBUG && BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC #endif // BGFX_CONFIG_RENDERER_DIRECT3D9
namespace bgfx namespace bgfx
{ {