egl: fix a compiler warning
authorChia-I Wu <olvaffe@gmail.com>
Fri, 1 Jul 2011 09:12:16 +0000 (18:12 +0900)
committerChia-I Wu <olv@lunarg.com>
Fri, 1 Jul 2011 09:28:56 +0000 (18:28 +0900)
src/egl/main/eglconfig.c

index 55ce6fd2e09dab06cce969d85049bd57c226f7bb..556cc8ed01cfe7309e8b978d5fa9bcba7ae8e654 100644 (file)
@@ -305,6 +305,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching)
             break;
          default:
             assert(0);
+            mask = 0;
             break;
          }
          if (val & ~mask)