diff options
author | Kenneth Graunke <[email protected]> | 2015-04-18 12:23:33 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-23 14:28:08 -0700 |
commit | b0ad3ce4e7b9a23ab8fad4823e3c1094d6cf42a6 (patch) | |
tree | 4f6140ffe93658896a397a5878ca681883fbbb92 /src/mesa/main/errors.h | |
parent | 630764407aeba4acf9364739bafb0e3516f72e31 (diff) |
mesa: Add a va_args variant of _mesa_gl_debug().
This will be useful for wrapper functions.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.h')
-rw-r--r-- | src/mesa/main/errors.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h index e6dc9b5f1b9..24f234f7f10 100644 --- a/src/mesa/main/errors.h +++ b/src/mesa/main/errors.h @@ -76,6 +76,15 @@ extern FILE * _mesa_get_log_file(void); extern void +_mesa_gl_vdebug(struct gl_context *ctx, + GLuint *id, + enum mesa_debug_source source, + enum mesa_debug_type type, + enum mesa_debug_severity severity, + const char *fmtString, + va_list args); + +extern void _mesa_gl_debug(struct gl_context *ctx, GLuint *id, enum mesa_debug_source source, |