new IDirect3DTexture9 C++
I'm trying to make a texture wrapper for d3d 9.0c and I'm having trouble with my copy constructor.
I get the "error C2259: 'IDirect3DTexture9' : cannot instantiate abstract class" error and I know what the problem is (I think). But how am I supposed to get around this (I'm not 100% familiar with copy constructors so this could just be a general C++ question).
TEXTURE::TEXTURE( const TEXTURE& temp )
Texture = new IDirect3DTexture9;
*Texture = *temp.Texture;