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.
This commit is contained in:
Niklas Haas 2017-07-25 06:35:10 +02:00
parent 62de84cbe3
commit f2809e19f0
1 changed files with 1 additions and 1 deletions

View File

@ -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]);