disable the driverContext assertions
authorBrian <brian.paul@tungstengraphics.com>
Thu, 1 Nov 2007 20:51:37 +0000 (14:51 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 00:01:47 +0000 (18:01 -0600)
src/mesa/main/context.c

index e8335e19cacc28bbf29da8e16ee1e15de0db75cc..563a89e686981808239509c206068e100fde1725 100644 (file)
@@ -1044,7 +1044,7 @@ _mesa_initialize_context(GLcontext *ctx,
                          const struct dd_function_table *driverFunctions,
                          void *driverContext)
 {
-   ASSERT(driverContext);
+   /*ASSERT(driverContext);*/
    assert(driverFunctions->NewTextureObject);
    assert(driverFunctions->FreeTexImageData);
 
@@ -1143,7 +1143,7 @@ _mesa_create_context(const GLvisual *visual,
    GLcontext *ctx;
 
    ASSERT(visual);
-   ASSERT(driverContext);
+   /*ASSERT(driverContext);*/
 
    ctx = (GLcontext *) _mesa_calloc(sizeof(GLcontext));
    if (!ctx)