Bug 936246. Bustage fix for compiler warning as error.

CLOSED TREE
This commit is contained in:
Jeff Muizelaar 2013-11-07 23:42:04 -05:00
parent f4088ca44b
commit c5f36ede95

View File

@ -122,7 +122,8 @@ bool WebGLContext::IsExtensionSupported(WebGLExtensionID ext) const
// For warnings-as-errors.
break;
}
// Uncomment this switch for any new extensions
#if 0
if (Preferences::GetBool("webgl.enable-draft-extensions", false) || IsWebGL2()) {
switch (ext) {
default:
@ -130,6 +131,7 @@ bool WebGLContext::IsExtensionSupported(WebGLExtensionID ext) const
break;
}
}
#endif
return false;
}