mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1079608 - Move blend_minmax out from under Draft. - r=kamidphish
This commit is contained in:
parent
db4dc7eea4
commit
cc46cff423
@ -101,6 +101,8 @@ bool WebGLContext::IsExtensionSupported(WebGLExtensionID ext) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (ext) {
|
switch (ext) {
|
||||||
|
case WebGLExtensionID::EXT_blend_minmax:
|
||||||
|
return WebGLExtensionBlendMinMax::IsSupported(this);
|
||||||
case WebGLExtensionID::OES_element_index_uint:
|
case WebGLExtensionID::OES_element_index_uint:
|
||||||
return gl->IsSupported(GLFeature::element_index_uint);
|
return gl->IsSupported(GLFeature::element_index_uint);
|
||||||
case WebGLExtensionID::OES_standard_derivatives:
|
case WebGLExtensionID::OES_standard_derivatives:
|
||||||
@ -165,8 +167,6 @@ bool WebGLContext::IsExtensionSupported(WebGLExtensionID ext) const
|
|||||||
|
|
||||||
if (Preferences::GetBool("webgl.enable-draft-extensions", false) || IsWebGL2()) {
|
if (Preferences::GetBool("webgl.enable-draft-extensions", false) || IsWebGL2()) {
|
||||||
switch (ext) {
|
switch (ext) {
|
||||||
case WebGLExtensionID::EXT_blend_minmax:
|
|
||||||
return WebGLExtensionBlendMinMax::IsSupported(this);
|
|
||||||
case WebGLExtensionID::EXT_color_buffer_half_float:
|
case WebGLExtensionID::EXT_color_buffer_half_float:
|
||||||
return WebGLExtensionColorBufferHalfFloat::IsSupported(this);
|
return WebGLExtensionColorBufferHalfFloat::IsSupported(this);
|
||||||
case WebGLExtensionID::WEBGL_color_buffer_float:
|
case WebGLExtensionID::WEBGL_color_buffer_float:
|
||||||
|
Loading…
Reference in New Issue
Block a user