@@ -154,17 +154,17 @@ bool kore::ShaderProgram::init() {
154
154
}
155
155
156
156
constructShaderInputInfo (GL_ACTIVE_ATTRIBUTES, _attributes);
157
- for (uint i = 0 ; i < _attributes.size (); i++) {
158
- kore::Log::getInstance ()->write (" \t Attribute '%s' at location %i\n " ,
159
- _attributes[i].name .c_str (),
160
- _attributes[i].location );
161
- }
157
+ // for (uint i = 0; i < _attributes.size(); i++) {
158
+ // kore::Log::getInstance()->write("\tAttribute '%s' at location %i\n",
159
+ // _attributes[i].name.c_str(),
160
+ // _attributes[i].location);
161
+ // }
162
162
constructShaderInputInfo (GL_ACTIVE_UNIFORMS, _uniforms);
163
- for (uint j = 0 ; j < _uniforms.size (); j++) {
164
- kore::Log::getInstance ()->write (" \t Uniform '%s' at location %i\n " ,
165
- _uniforms[j].name .c_str (),
166
- _uniforms[j].location );
167
- }
163
+ // for (uint j = 0; j < _uniforms.size(); j++) {
164
+ // kore::Log::getInstance()->write("\tUniform '%s' at location %i\n",
165
+ // _uniforms[j].name.c_str(),
166
+ // _uniforms[j].location);
167
+ // }
168
168
169
169
/*
170
170
/* OpenGL 4.3 or arb_program_interface_query needed
@@ -389,8 +389,8 @@ bool kore::ShaderProgram::checkProgramLinkStatus(const GLuint programHandle,
389
389
" [DEBUG] '%s' program Log %s\n " , name.c_str (), shaderlog.c_str ());
390
390
KORE_SAFE_DELETE_ARR (infoLog);
391
391
} else {
392
- kore::Log::getInstance ()->write (
393
- " [DEBUG] Program '%s' compiled \n " , name.c_str ());
392
+ /* kore::Log::getInstance()->write(
393
+ "[DEBUG] Program '%s' linked \n", name.c_str());*/
394
394
}
395
395
396
396
return success == GL_TRUE;
0 commit comments