swrast: add missing switch case for API_OPENGL_CORE
authorBrian Paul <brianp@vmware.com>
Wed, 8 Aug 2012 15:39:36 +0000 (09:39 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 8 Aug 2012 15:39:36 +0000 (09:39 -0600)
To silence compiler warning.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/drivers/dri/swrast/swrast.c

index 22d71bf1024b307f25db8c2fe0eabf4bbea78935..ca6bda02781ec98d2605454c4a39eb9efb609a49 100644 (file)
@@ -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);