From: Brian Paul Date: Wed, 8 Aug 2012 15:39:36 +0000 (-0600) Subject: swrast: add missing switch case for API_OPENGL_CORE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecac178aa2591afc36e5d34d11a773ff07cb71b1;p=mesa.git swrast: add missing switch case for API_OPENGL_CORE To silence compiler warning. Reviewed-by: José Fonseca --- diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 22d71bf1024..ca6bda02781 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -771,6 +771,8 @@ dri_create_context(gl_api api, _mesa_enable_sw_extensions(mesaCtx); switch (api) { + case API_OPENGL_CORE: + /* XXX fix me, fall-through for now */ case API_OPENGL: _mesa_enable_1_3_extensions(mesaCtx); _mesa_enable_1_4_extensions(mesaCtx);