Skip to content
Snippets Groups Projects
Commit b0c665ac authored by Adam Jackson's avatar Adam Jackson :headphones:
Browse files

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: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent a095a6d4
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment