Peter_H
Peter_H

Reputation: 1

Error: ID3D11Texture2D is not defined.

I included d3d11.h header, but when I declare a pointer of this type:

ID3D11Textrue2D* pDepthStencilBuffer = 0;

it says that ID3D11Texture2D is not defined.

So how can I solve the problem?

Upvotes: 0

Views: 270

Answers (1)

Andreas Brinck
Andreas Brinck

Reputation: 52539

You've mispelled ID3D11Textrue2D, it should be ID3D11Texture2D.

Upvotes: 3

Related Questions