diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-06-18 13:21:32 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-06-18 13:21:49 +0200 |
commit | 7af5a7fd5409ab8db0274eb829136e5953e718ed (patch) | |
tree | ee7103d6651e45943609118f93cc8789ebbb4d86 /components/script/dom/webgl_validations/tex_image_2d.rs | |
parent | a5bb55790fe34de6e6dc561314d2a9491972585e (diff) | |
download | servo-7af5a7fd5409ab8db0274eb829136e5953e718ed.tar.gz servo-7af5a7fd5409ab8db0274eb829136e5953e718ed.zip |
Untry script
Diffstat (limited to 'components/script/dom/webgl_validations/tex_image_2d.rs')
-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 f77d80c2715..0694af9512b 100644 --- a/components/script/dom/webgl_validations/tex_image_2d.rs +++ b/components/script/dom/webgl_validations/tex_image_2d.rs @@ -285,7 +285,7 @@ impl<'a> WebGLValidator for TexImage2DValidator<'a> { width, height, border, - } = try!(self.common_validator.validate()); + } = self.common_validator.validate()?; // GL_INVALID_VALUE is generated if target is one of the six cube map 2D // image targets and the width and height parameters are not equal. |