mirror of https://github.com/mpv-player/mpv
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:
parent
62de84cbe3
commit
f2809e19f0
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue