From 188630dc13b52ce9c64166da9a9df6a644b1599c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 13 Dec 2013 15:55:28 -0800 Subject: [PATCH] swrast: silence driContextSetFlags() parameter type warning --- src/mesa/drivers/dri/swrast/swrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index cfa9316a2da..79a27408fb3 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -705,7 +705,7 @@ dri_create_context(gl_api api, goto context_fail; } - driContextSetFlags(ctx, flags); + driContextSetFlags(mesaCtx, flags); /* do bounds checking to prevent segfaults and server crashes! */ mesaCtx->Const.CheckArrayBounds = GL_TRUE; -- 2.30.2