summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-08-08 09:39:36 -0600
committerBrian Paul <[email protected]>2012-08-08 09:39:36 -0600
commitecac178aa2591afc36e5d34d11a773ff07cb71b1 (patch)
treee9ba6e3d25330c8feb55ede61a0231739cd7c563 /src/mesa
parentb4d6502fcd4d779dfebefbf6e76110e046d9e1c1 (diff)
swrast: add missing switch case for API_OPENGL_CORE
To silence compiler warning. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c2
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 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);