mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- more cppcheck code cleanup
This commit is contained in:
@@ -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){
|
||||
|
Reference in New Issue
Block a user