The problem recieved from the debug log is the C2065 error regarding the 'm_pEffect' and 'm_pd3dDevice' being undeclared identifiers.
There is quite alot more code relating to these identifiers, but I would say that it has something to do with the code I have given, if you need more just let me know.
Code:
D3DApplication::D3DApplication(){
m_pEffect = NULL;
m_pD3D = NULL;
m_pd3dDevice = NULL;
}
VOID D3DApplication::relD3DObjects(){
m_threeDobject.relD3DObjects();
if( m_pd3dDevice != NULL ){
m_pd3dDevice->Release();
m_pd3dDevice = NULL;
}
if( m_pD3D != NULL ){
m_pD3D->Release();
m_pD3D = NULL;
}
if( m_pEffect != NULL ){
m_pEffect->Release();
m_pEffect = NULL;
}
}
Comment