diff options
Diffstat (limited to 'src/mesa/main/errors.h')
-rw-r--r-- | src/mesa/main/errors.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h index e0706e5b953..06d0b21fcae 100644 --- a/src/mesa/main/errors.h +++ b/src/mesa/main/errors.h @@ -83,8 +83,14 @@ _mesa_gl_debug(struct gl_context *ctx, } \ } while (0) -struct gl_debug_state * -_mesa_get_debug_state(struct gl_context *ctx); +bool +_mesa_set_debug_state_int(struct gl_context *ctx, GLenum pname, GLint val); + +GLint +_mesa_get_debug_state_int(struct gl_context *ctx, GLenum pname); + +void * +_mesa_get_debug_state_ptr(struct gl_context *ctx, GLenum pname); extern void _mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint *id, |