nv2a/gl: Add format attr to gl_debug_*

This commit is contained in:
Matt Borgerson 2025-06-28 00:08:46 -07:00 committed by mborgerson
parent c05f2746f4
commit 5b885e5851
1 changed files with 3 additions and 3 deletions

View File

@ -32,10 +32,10 @@
#include "config-host.h"
void gl_debug_initialize(void);
void gl_debug_message(bool cc, const char *fmt, ...);
void gl_debug_group_begin(const char *fmt, ...);
void gl_debug_message(bool cc, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
void gl_debug_group_begin(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
void gl_debug_group_end(void);
void gl_debug_label(GLenum target, GLuint name, const char *fmt, ...);
void gl_debug_label(GLenum target, GLuint name, const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
void gl_debug_frame_terminator(void);
# define NV2A_GL_DPRINTF(cc, format, ...) \