summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-07-25 06:35:10 +0200
committerNiklas Haas <git@haasn.xyz>2017-07-25 06:35:10 +0200
commitf2809e19f017fb60af7c4a187f41a190d1bcd21d (patch)
tree7d9b18fc0bae065eceea3a32cfb656d7015a1d82 /video
parent62de84cbe3b060792a7d19cf747a8ba5a697e894 (diff)
downloadmpv-f2809e19f017fb60af7c4a187f41a190d1bcd21d.tar.bz2
mpv-f2809e19f017fb60af7c4a187f41a190d1bcd21d.tar.xz
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.
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/utils.h2
1 files changed, 1 insertions, 1 deletions
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]);