diff options
-rw-r--r-- | components/script/dom/webgl_extensions/ext/oestexturefloat.rs | 3 | ||||
-rw-r--r-- | components/script/dom/webgl_extensions/ext/oestexturehalffloat.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/webgl_extensions/ext/oestexturefloat.rs b/components/script/dom/webgl_extensions/ext/oestexturefloat.rs index 7e5f5a56f26..58983c46caf 100644 --- a/components/script/dom/webgl_extensions/ext/oestexturefloat.rs +++ b/components/script/dom/webgl_extensions/ext/oestexturefloat.rs @@ -32,7 +32,8 @@ impl WebGLExtension for OESTextureFloat { fn is_supported(ext: &WebGLExtensions) -> bool { ext.supports_any_gl_extension(&["GL_OES_texture_float", - "GL_ARB_texture_float"]) + "GL_ARB_texture_float", + "GL_EXT_color_buffer_float"]) } fn enable(ext: &WebGLExtensions) { diff --git a/components/script/dom/webgl_extensions/ext/oestexturehalffloat.rs b/components/script/dom/webgl_extensions/ext/oestexturehalffloat.rs index d9e6aebde6a..7fe58f9b6b9 100644 --- a/components/script/dom/webgl_extensions/ext/oestexturehalffloat.rs +++ b/components/script/dom/webgl_extensions/ext/oestexturehalffloat.rs @@ -33,7 +33,8 @@ impl WebGLExtension for OESTextureHalfFloat { fn is_supported(ext: &WebGLExtensions) -> bool { ext.supports_any_gl_extension(&["GL_OES_texture_half_float", "GL_ARB_half_float_pixel", - "GL_NV_half_float"]) + "GL_NV_half_float", + "GL_EXT_color_buffer_half_float"]) } fn enable(ext: &WebGLExtensions) { |