diff options
author | Brian <[email protected]> | 2007-11-01 14:20:42 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-11-01 18:01:47 -0600 |
commit | 15c565b018f90df80493eaa0e713f1cf3eb10a38 (patch) | |
tree | 9c53211a0c7bbb1da6f66b7c56800a747de5bd54 | |
parent | ca123a69faa377571c3b22167f7d444a26a3f776 (diff) |
don't call _mesa_init_driver_functions()
-rw-r--r-- | src/mesa/pipe/xlib/xm_api.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c index 5e040922158..7f144a5d32b 100644 --- a/src/mesa/pipe/xlib/xm_api.c +++ b/src/mesa/pipe/xlib/xm_api.c @@ -74,7 +74,6 @@ #include "renderbuffer.h" #include "teximage.h" #include "vbo/vbo.h" -#include "drivers/common/driverfuncs.h" #include "state_tracker/st_public.h" #include "state_tracker/st_context.h" @@ -1462,7 +1461,11 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) mesaCtx = &(c->mesa); /* initialize with default driver functions, then plug in XMesa funcs */ +#if 0 _mesa_init_driver_functions(&functions); +#else + memset(&functions, 0, sizeof(functions)); +#endif xmesa_init_driver_functions(v, &functions); st_init_driver_functions(&functions); |