Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Errors in directx.hpp 3.0 Dev

In the header there are 3 tests for __d3d11_h__ and 10 and 9 versions, but the tests only include the structures of these are NOT defined!

if !defined(__d3d11_h__)

struct ID3D11Device; ...

Shouldn't the negate be removed, so:-

if defined(__d3d11_h__)

struct ID3D11Device; ...

Errors in directx.hpp 3.0 Dev

In the header there are 3 tests for __d3d11_h__ and 10 and 9 versions, but the tests only include the structures of if these are NOT defined!

if !defined(__d3d11_h__)

struct ID3D11Device; ...

Shouldn't the negate be removed, so:-

if defined(__d3d11_h__)

struct ID3D11Device; ...

click to hide/show revision 3
No.3 Revision

Errors in directx.hpp 3.0 Dev

In the header there are 3 tests for __d3d11_h__ and 10 and 9 versions, but the tests only include the structures if these are NOT defined!

if !defined(__d3d11_h__)

#if !defined(__d3d11_h__)
struct ID3D11Device;
...

...

Shouldn't the negate be removed, so:-

if defined(__d3d11_h__)

#if defined(__d3d11_h__)
struct ID3D11Device;
...

...