Fix texture_float and texture_half_float detection on some GPUs

This commit is contained in:
Imanol Fernandez 2017-09-05 18:24:59 +02:00
parent 449ffb23ac
commit 4f35e82cf5
2 changed files with 4 additions and 2 deletions

View file

@ -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) {