stD3DStaticBuffer *m_staticBufferList;
int m_numStaticBuffers;
int m_activeStaticBuffer;
};
bool CreateD3DRenderer(CRenderInterface **pObj);
bool CreateD3DRenderer(CRenderInterface **pObj)
{
if(!*pObj) *pObj = new CD3DRenderer;// I get the error c2259 cannot instatiate abstract class here,why?
else
return false;
Haven't used those classes before but did see a couple references on the web that might help.
The general idea I read is that CD3DRenderer is a base class w/ some pure virtual member functions so you need to inherit the class first and implement the abstract functions before trying to instatiate the object.