From f6f1e37b298d1c84489b7cdfe9c79e40b9a22d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 20 Apr 2016 20:30:05 +0200 Subject: [PATCH] webgl: Fix a few typos in comments --- components/script/dom/webglrenderingcontext.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 9e6a0d806dd..55f34cabe90 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -210,7 +210,7 @@ impl WebGLRenderingContext { }; // TODO(emilio): Get more complex uniform info from ANGLE, and use it to - // properly validate that the uniform type is compatible with the + // properly validate that the uniform setter type is compatible with the // uniform type, and that the uniform size matches. if data.len() % uniform_type.element_count() != 0 { self.webgl_error(InvalidOperation); @@ -320,7 +320,7 @@ impl WebGLRenderingContext { } // GL_INVALID_VALUE is generated if level is greater than zero and the - // texture and the texture is not power of two. + // texture is not power of two. if level > 0 && (!(width as u32).is_power_of_two() || !(height as u32).is_power_of_two()) {