projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
buffer allocation
[demo]
/
src
/
opengl
/
shader-gl.cc
diff --git
a/src/opengl/shader-gl.cc
b/src/opengl/shader-gl.cc
index
898e5c5
..
374673f
100644
(file)
--- a/
src/opengl/shader-gl.cc
+++ b/
src/opengl/shader-gl.cc
@@
-240,9
+240,8
@@
void ShaderProgramGL::set_uniformf(int location, float x, float y, float z, floa
void ShaderProgramGL::set_uniform_matrix(int location, const Mat4 &mat)
{
if(!use() || location == -1) {
void ShaderProgramGL::set_uniform_matrix(int location, const Mat4 &mat)
{
if(!use() || location == -1) {
- fprintf(stderr, "FOO\n");
return;
}
glUniformMatrix4fv(location, 1, GL_FALSE, mat[0]);
return;
}
glUniformMatrix4fv(location, 1, GL_FALSE, mat[0]);
-}
\ No newline at end of file
+}