diff options
author | Brian Paul <[email protected]> | 2010-01-22 09:35:12 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-22 09:56:55 -0700 |
commit | e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 (patch) | |
tree | 6bc80c976146dd14234872a399095c5dd676fc7c /src/mesa/glapi/glapi.h | |
parent | 126aff18aaf7512dfe07e4fd43e21a2ecd3a96ff (diff) |
glapi: clean-up and simplify glapi_nop.c code
Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func().
Just check the DEBUG env vars and call fprintf(stderr) with a warning
message instead.
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r-- | src/mesa/glapi/glapi.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h index 5fb5401229a..47ea23e92b5 100644 --- a/src/mesa/glapi/glapi.h +++ b/src/mesa/glapi/glapi.h @@ -55,8 +55,6 @@ struct _glapi_table; typedef void (*_glapi_proc)(void); /* generic function pointer */ -typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...); - #if defined(USE_MGL_NAMESPACE) #define _glapi_set_dispatch _mglapi_set_dispatch @@ -107,12 +105,6 @@ extern struct _glapi_table *_glapi_Dispatch; **/ extern void -_glapi_noop_enable_warnings(GLboolean enable); - -extern void -_glapi_set_warning_func(_glapi_warning_func func); - -extern void _glapi_check_multithread(void); |