diff options
author | Brian Paul <[email protected]> | 2014-03-01 10:21:08 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-03 13:08:59 -0700 |
commit | 9b8e267976c824170a0dff9cb542feef855e9b2a (patch) | |
tree | 3cbda8aab12d91f0939efe4edc3b230920639500 /src/mesa/drivers/x11/glxapi.c | |
parent | afbc9b353758e3c3fe7509938c7de08004b4d76f (diff) |
xlib: remove unused realglx.[ch] files
At one point in time, the xlib driver could call the real GLX functions.
But that's long dead.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/glxapi.c')
-rw-r--r-- | src/mesa/drivers/x11/glxapi.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c index dfa89463ad4..8640cb03fcb 100644 --- a/src/mesa/drivers/x11/glxapi.c +++ b/src/mesa/drivers/x11/glxapi.c @@ -24,9 +24,9 @@ /* - * This is the GLX API dispatcher. Calls to the glX* functions are - * either routed to the real GLX encoders or to Mesa's pseudo-GLX functions. - * See the glxapi.h file for more details. + * This is the GLX API dispatcher. It uses a dispatch table but that's + * not really needed anymore since the table always points to the "fake" + * GLX functions. */ @@ -40,7 +40,6 @@ #include "glxapi.h" -extern struct _glxapi_table *_real_GetGLXDispatchTable(void); extern struct _glxapi_table *_mesa_GetGLXDispatchTable(void); @@ -107,9 +106,7 @@ get_dispatch(Display *dpy) } } - /* A new display, determine if we should use real GLX - * or Mesa's pseudo-GLX. - */ + /* Setup the dispatch table */ { struct _glxapi_table *t = _mesa_GetGLXDispatchTable(); @@ -130,10 +127,6 @@ get_dispatch(Display *dpy) } } - /* If we get here that means we can't use real GLX on this display - * and the Mesa pseudo-GLX software renderer wasn't compiled in. - * Or, we ran out of memory! - */ return NULL; } |