summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-07-01 18:12:16 +0900
committerChia-I Wu <[email protected]>2011-07-01 18:28:56 +0900
commitc250363022ea2d4d8de1a1660431f35d8b92aca4 (patch)
treec1a87cc70050ab8b0cc3530915c4122b905fc51b /src/egl/main
parentbf04d9eebfd117ad3b9c095b990183614d4f5f09 (diff)
egl: fix a compiler warning
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c
index 55ce6fd2e09..556cc8ed01c 100644
--- a/src/egl/main/eglconfig.c
+++ b/src/egl/main/eglconfig.c
@@ -305,6 +305,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching)
break;
default:
assert(0);
+ mask = 0;
break;
}
if (val & ~mask)