dri: Add DRI entrypoints to create a context for a given API
[mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_context.c
index 42bec659d73e1d8dd36daadc09c7f075b42b5894..f481161d468e221b74af0cd2482faf16fd7a71a8 100644 (file)
@@ -75,7 +75,8 @@ nouveau_channel_flush_notify(struct nouveau_channel *chan)
 }
 
 GLboolean
-nouveau_context_create(const __GLcontextModes *visual, __DRIcontext *dri_ctx,
+nouveau_context_create(gl_api api,
+                      const __GLcontextModes *visual, __DRIcontext *dri_ctx,
                       void *share_ctx)
 {
        __DRIscreen *dri_screen = dri_ctx->driScreenPriv;