mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
don't call _mesa_init_driver_functions()
This commit is contained in:
parent
ca123a69fa
commit
15c565b018
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue