driswrast: Fix more context creation breakage
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 3 May 2010 12:00:10 +0000 (08:00 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 3 May 2010 12:01:24 +0000 (08:01 -0400)
Pointed out by Colin Harrison.

src/mesa/drivers/dri/swrast/swrast.c

index 6f54981..7fa7e21 100644 (file)
@@ -501,7 +501,8 @@ swrast_init_driver_functions(struct dd_function_table *driver)
  */
 
 static GLboolean
-dri_create_context(const __GLcontextModes * visual,
+dri_create_context(gl_api api,
+                  const __GLcontextModes * visual,
                   __DRIcontext * cPriv, void *sharedContextPrivate)
 {
     struct dri_context *ctx = NULL;