From f2809e19f017fb60af7c4a187f41a190d1bcd21d Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 25 Jul 2017 06:35:10 +0200 Subject: vo_opengl: add PRINTF_ATTRIBUTE to gl_sc_ssbo Doesn't uncover any bugs, but apparently we're getting in the habit of this anyway. --- video/out/opengl/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h index d91907fe9f..7e5f8f5931 100644 --- a/video/out/opengl/utils.h +++ b/video/out/opengl/utils.h @@ -149,7 +149,7 @@ void gl_sc_uniform_tex_ui(struct gl_shader_cache *sc, char *name, GLuint texture void gl_sc_uniform_image2D(struct gl_shader_cache *sc, char *name, GLuint texture, GLuint iformat, GLenum access); void gl_sc_ssbo(struct gl_shader_cache *sc, char *name, GLuint ssbo, - char *format, ...); + char *format, ...) PRINTF_ATTRIBUTE(4, 5); void gl_sc_uniform_f(struct gl_shader_cache *sc, char *name, GLfloat f); void gl_sc_uniform_i(struct gl_shader_cache *sc, char *name, GLint f); void gl_sc_uniform_vec2(struct gl_shader_cache *sc, char *name, GLfloat f[2]); -- cgit v1.2.3