From 3c1b90a736e3958a9f0545f04b1af7fc00b74b4e Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 2 May 2018 19:35:20 +0100 Subject: Improve glprog_load to take sentinel terminated lists Numerous times a new uniform has been added and the corresponding increment of the nunis parameter was forgotten causing confusion. This should not happen anymore. --- glprog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glprog.h') diff --git a/glprog.h b/glprog.h index a81f6d6..cd0ef83 100644 --- a/glprog.h +++ b/glprog.h @@ -18,6 +18,6 @@ struct shdrdat { GLint len; }; -GLuint glprog_load(int nshdrs, const struct shdrdat *shdrs, int nunis, const struct unidat *unis); +GLuint glprog_load(const struct shdrdat *shdrs, const struct unidat *unis); #endif // SHADER_H -- cgit v1.2.3-54-g00ecf