From 703962fe61d673536eb982b45795ae13748f0f6a Mon Sep 17 00:00:00 2001 From: Imanol Fernandez Date: Tue, 15 Aug 2017 16:05:22 +0200 Subject: Improve WebGL architecture. --- components/script/dom/webgl_validations/tex_image_2d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/webgl_validations') 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)] -- cgit v1.2.3