mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 22:51:24 +02:00
- more cppcheck code cleanup
This commit is contained in:
@@ -28,6 +28,8 @@ namespace Shared{ namespace Graphics{ namespace D3d9{
|
||||
ContextD3d9::ContextD3d9(){
|
||||
windowed= true;
|
||||
hardware= true;
|
||||
d3dObject=NULL;
|
||||
d3dDevice=NULL;
|
||||
}
|
||||
|
||||
void ContextD3d9::init(){
|
||||
|
@@ -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){
|
||||
|
Reference in New Issue
Block a user