Skip to content

Commit

Permalink
Bug 936246. Bustage fix for compiler warning as error.
Browse files Browse the repository at this point in the history
CLOSED TREE
  • Loading branch information
jrmuizel committed Nov 8, 2013
1 parent 3dbbc64 commit f5467e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/canvas/src/WebGLContextExtensions.cpp
Expand Up @@ -122,14 +122,16 @@ 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:
// For warnings-as-errors.
break;
}
}
#endif

return false;
}
Expand Down

0 comments on commit f5467e7

Please sign in to comment.