quick backup of changes:
[demo] / src / opengl / shader-gl.cc
index 334a1cf..c5b57a7 100644 (file)
@@ -166,4 +166,9 @@ bool ShaderProgramGL::load(const char *vfname, const char *ffname)
        shaders[1] = fsdr;
 
        return true;
+}
+
+void ShaderProgramGL::use()
+{
+       glUseProgram(prog);
 }
\ No newline at end of file