- more cppcheck code cleanup

This commit is contained in:
Mark Vejvoda
2012-11-06 03:52:27 +00:00
parent 5bcc15a7fc
commit 29da478bd5
5 changed files with 16 additions and 5 deletions

View File

@@ -28,6 +28,8 @@ namespace Shared{ namespace Graphics{ namespace D3d9{
ContextD3d9::ContextD3d9(){
windowed= true;
hardware= true;
d3dObject=NULL;
d3dDevice=NULL;
}
void ContextD3d9::init(){

View File

@@ -29,6 +29,8 @@ ShaderProgramD3d9::ShaderProgramD3d9(){
d3dDevice= static_cast<ContextD3d9*>(gi.getCurrentContext())->getD3dDevice();
vertexShader= NULL;
pixelShader= NULL;
d3dVsConstantTable=NULL;
d3dPsConstantTable=NULL;
}
void ShaderProgramD3d9::attach(VertexShader *vs, FragmentShader *fs){