* we implement in this driver.
*/
static void
-xmesa_init_driver_functions( XMesaVisual xmvisual,
- struct dd_function_table *driver )
+xmesa_init_driver_functions(struct dd_function_table *driver)
{
driver->Flush = finish_or_flush;
driver->Finish = finish_or_flush;
XMesaContext c;
GLcontext *mesaCtx;
- (void) xmesa_init_driver_functions;
-
if (firstTime) {
_glthread_INIT_MUTEX(_xmesa_lock);
firstTime = GL_FALSE;
mesaCtx->Const.CheckArrayBounds = GL_TRUE;
#endif
+ xmesa_init_driver_functions(&mesaCtx->Driver);
+
/* finish up xmesa context initializations */
c->swapbytes = CHECK_BYTE_ORDER(v) ? GL_FALSE : GL_TRUE;
c->xm_visual = v;