diff options
author | Imanol Fernandez <mortimergoro@gmail.com> | 2017-08-15 16:05:22 +0200 |
---|---|---|
committer | Imanol Fernandez <mortimergoro@gmail.com> | 2017-08-15 22:14:32 +0200 |
commit | 703962fe61d673536eb982b45795ae13748f0f6a (patch) | |
tree | c85f3cb5d55babab03d56dac8b0d10d588b0a0f9 /components/script/dom/webgl_validations | |
parent | e9cbbc58cc9655a15bc603effabbd4a4ff62b454 (diff) | |
download | servo-703962fe61d673536eb982b45795ae13748f0f6a.tar.gz servo-703962fe61d673536eb982b45795ae13748f0f6a.zip |
Improve WebGL architecture.
Diffstat (limited to 'components/script/dom/webgl_validations')
-rw-r--r-- | components/script/dom/webgl_validations/tex_image_2d.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webgl_validations/tex_image_2d.rs b/components/script/dom/webgl_validations/tex_image_2d.rs index 41b2795bc14..cd5320453c7 100644 --- a/components/script/dom/webgl_validations/tex_image_2d.rs +++ b/components/script/dom/webgl_validations/tex_image_2d.rs @@ -2,13 +2,13 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use canvas_traits::webgl::WebGLError::*; use dom::bindings::js::Root; use dom::webglrenderingcontext::WebGLRenderingContext; use dom::webgltexture::WebGLTexture; use std::{self, fmt}; use super::WebGLValidator; use super::types::{TexImageTarget, TexDataType, TexFormat}; -use webrender_api::WebGLError::*; /// The errors that the texImage* family of functions can generate. #[derive(Debug)] |