Skip to content

Commit 626b958

Browse files
committed
disabled shaderoutput
1 parent a929245 commit 626b958

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/KoRE/Shader.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ bool kore::Shader::checkShaderCompileStatus(const GLuint shaderHandle,
8282
"[DEBUG] '%s' shader Log %s\n", name.c_str(), shaderlog.c_str());
8383
KORE_SAFE_DELETE_ARR(infoLog);
8484
} else {
85-
kore::Log::getInstance()->write(
86-
"[DEBUG] Shader '%s' compiled\n", name.c_str());
85+
/*kore::Log::getInstance()->write(
86+
"[DEBUG] Shader '%s' compiled\n", name.c_str());*/
8787
}
8888
return success == GL_TRUE;
8989
}

src/KoRE/ShaderProgram.cpp

+12-12
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,17 @@ bool kore::ShaderProgram::init() {
154154
}
155155

156156
constructShaderInputInfo(GL_ACTIVE_ATTRIBUTES, _attributes);
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-
}
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+
//}
162162
constructShaderInputInfo(GL_ACTIVE_UNIFORMS, _uniforms);
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-
}
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+
//}
168168

169169
/*
170170
/* OpenGL 4.3 or arb_program_interface_query needed
@@ -389,8 +389,8 @@ bool kore::ShaderProgram::checkProgramLinkStatus(const GLuint programHandle,
389389
"[DEBUG] '%s' program Log %s\n", name.c_str(), shaderlog.c_str());
390390
KORE_SAFE_DELETE_ARR(infoLog);
391391
} 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());*/
394394
}
395395

396396
return success == GL_TRUE;

0 commit comments

Comments
 (0)