graphics

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

commit ccb7bc8e6b6a0aff396eb4e2da8d253b0419a873
parent fbe8cac6674f56d8803088f52e151fee4d7afe20
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun,  1 Sep 2013 22:58:42 -0700

shaders: return success correctly from link()

Diffstat:
Mcommon/shaders.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/common/shaders.cc b/common/shaders.cc @@ -87,6 +87,8 @@ int Program::link(VertexShader *vs, GeometryShader *gs, PixelShader *ps) { glUniformBlockBinding(id, r, n); } } + + return 0; } /* defer final link steps until the first time glUseProgram() is called, */