graphics

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7e8d64c03ab7597ce8b8805d7e39af2bd4273b59
parent 1028803d9d5f463fe6031f52aa02497e31f6b98c
Author: Brian Swetland <swetland@frotz.net>
Date:   Thu,  5 Sep 2013 19:50:10 -0700

shaders: fix debug print error

Diffstat:
Mcommon/shaders.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/shaders.cc b/common/shaders.cc @@ -102,7 +102,7 @@ void Program::bind() { for (n = 0; n < sizeof(_samplernames) / sizeof(_samplernames[0]); n++) { r = glGetUniformLocation(id, _samplernames[n]); if (r != -1) { - fprintf(stderr,"found %s @ %d\n", _samplernames[0], r); + fprintf(stderr,"found %s @ %d\n", _samplernames[n], r); glUniform1i(r, n); } }