From this pageThis is actually addressed in instructions for mixing the Windows 8.0 SDK and DirectX SDK on MSDN.
Wherever "d3dx9.h", "d3dx10.h", or "d3dx11.h" are included in your project, be sure to explicitly include "d3d9.h", "d3d10.h" and "dxgi.h", or "d3d11.h" and "dxgi.h" first to ensure you are picking up the newer version. You can disable warning C4005 if needed; however, this warning indicates you are using the older version of these headers.
Show differencesHistory of post edits
#ActualCornstalks
Posted 04 November 2012 - 04:55 PM
I found this by googling "redefinition of DXGI_STATUS_OCCLUDED":
#1Cornstalks
Posted 04 November 2012 - 04:54 PM
I found this by googling "redefinition of DXGI_STATUS_OCCLUDED":
From this page
This is actually addressed in instructions for mixing the Windows 8.0 SDK and DirectX SDK on MSDN.
Wherever "d3dx9.h", "d3dx10.h", or "d3dx11.h" are included in your project, be sure to explicitly include "d3d9.h", "d3d10.h" and "dxgi.h", or "d3d11.h" and "dxgi.h" first to ensure you are picking up the newer version. You can disable warning C4005 if needed; however, this warning indicates you are using the older version of these headers.