egl: fix a compiler warning

This commit is contained in:
Chia-I Wu
2011-07-01 18:12:16 +09:00
committed by Chia-I Wu
parent bf04d9eebf
commit c250363022

View File

@@ -305,6 +305,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching)
break;
default:
assert(0);
mask = 0;
break;
}
if (val & ~mask)