mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 936246. Bustage fix for compiler warning as error.
CLOSED TREE
This commit is contained in:
parent
f4088ca44b
commit
c5f36ede95
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user