diff options
author | Adam Jackson <ajax@redhat.com> | 2011-03-02 12:30:22 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-28 12:46:38 -0400 |
commit | b0c665ac0fe6840dda581e4d0d0b76c703d62a7b (patch) | |
tree | efb27825f7b90a1f6a4de2dd51a2c301a5998be8 /glx/glapi.h | |
parent | a095a6d4e8f5090907e8d3d66018636216300846 (diff) |
glx: Remove noop dispatch table
We can never hit this, because the indirect GLX dispatch code always
forces a current context and checks that it's non-NULL before calling
into the dispatch table. If it's _not_ null, then _glapi_set_context
will call into the driver, which is responsible for calling
_glapi_set_dispatch to make sure the dispatch table is non-NULL.
Also remove _glapi_set_warning_func and friends, since we can no longer
call them even from dead code.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/glapi.h')
-rw-r--r-- | glx/glapi.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/glx/glapi.h b/glx/glapi.h index dec8328cd..6521f3142 100644 --- a/glx/glapi.h +++ b/glx/glapi.h @@ -107,12 +107,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); extern void |