Module: Mesa Branch: master Commit: ecac178aa2591afc36e5d34d11a773ff07cb71b1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecac178aa2591afc36e5d34d11a773ff07cb71b1
Author: Brian Paul <[email protected]> Date: Wed Aug 8 09:39:36 2012 -0600 swrast: add missing switch case for API_OPENGL_CORE To silence compiler warning. Reviewed-by: José Fonseca <[email protected]> --- src/mesa/drivers/dri/swrast/swrast.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 22d71bf..ca6bda0 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
