summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/mga
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-04-27 11:04:51 -0400
committerKristian Høgsberg <[email protected]>2010-04-28 14:05:21 -0400
commita7a9a91d7b28e5b5faed509d00f0f951e3136b1b (patch)
tree49ffb474a4d58ab53785a912f2a623c12c17fe36 /src/mesa/drivers/dri/mga
parent0f5e8f77022f8bb4ac00128af6d217da747e63df (diff)
dri: Add DRI entrypoints to create a context for a given API
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r--src/mesa/drivers/dri/mga/mga_xmesa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c
index 687412bca55..31007ccb1da 100644
--- a/src/mesa/drivers/dri/mga/mga_xmesa.c
+++ b/src/mesa/drivers/dri/mga/mga_xmesa.c
@@ -423,7 +423,8 @@ static const struct dri_debug_control debug_control[] =
static GLboolean
-mgaCreateContext( const __GLcontextModes *mesaVis,
+mgaCreateContext( gl_api api,
+ const __GLcontextModes *mesaVis,
__DRIcontext *driContextPriv,
void *sharedContextPrivate )
{