summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-05-03 08:00:10 -0400
committerKristian Høgsberg <[email protected]>2010-05-03 08:01:24 -0400
commit9ab3df4ebbcb5fe7a65e6cf05b3a6671392ba929 (patch)
tree215d7359db91a345faa59b31c68d5ec6c5855291 /src
parent4b891234f81d441426a62abcff96720022d2ac3d (diff)
driswrast: Fix more context creation breakage
Pointed out by Colin Harrison.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index 6f54981eba1..7fa7e2192ff 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -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;