From: Brian Paul Date: Fri, 13 Dec 2013 23:55:28 +0000 (-0800) Subject: swrast: silence driContextSetFlags() parameter type warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=188630dc13b52ce9c64166da9a9df6a644b1599c;p=mesa.git swrast: silence driContextSetFlags() parameter type warning --- 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;