- more cppcheck code cleanup

This commit is contained in:
Mark Vejvoda
2012-10-06 03:42:31 +00:00
parent 97ba1a27e2
commit 2a80dd7c3c
7 changed files with 25 additions and 3 deletions

View File

@@ -26,6 +26,9 @@ namespace Shared{ namespace Graphics{ namespace Gl{
ShaderProgramGl::ShaderProgramGl(){
inited= false;
vertexShader=0;
fragmentShader=0;
handle=0;
}
void ShaderProgramGl::init(){
@@ -173,6 +176,7 @@ GLint ShaderProgramGl::getLocation(const string &name){
ShaderGl::ShaderGl(){
inited= false;
handle = 0;
}
void ShaderGl::load(const string &path){