Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / glx / applegl_glx.c
index 85f70058c6467a55d77eed5c9af5d5284eda98fe..c086e5146a84f1f3d2ad77d1ba772c89e19fb11a 100644 (file)
@@ -134,9 +134,6 @@ applegl_create_context(struct glx_screen *psc,
    /* TODO: Integrate this with apple_glx_create_context and make
     * struct apple_glx_context inherit from struct glx_context. */
 
-   if (!config)
-      return NULL;
-
    gc = calloc(1, sizeof(*gc));
    if (gc == NULL)
       return NULL;