From db88428777230ba76397c3a5c47536aef5c4f3e3 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 23 May 2012 22:17:10 -0400 Subject: [PATCH] Bug 754669 - remove legacy cast to int32 in vertexAttribPointer - r=bz --- content/canvas/src/WebGLContextGL.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/content/canvas/src/WebGLContextGL.cpp b/content/canvas/src/WebGLContextGL.cpp index 8ec724b91933..0ddff5b6127d 100644 --- a/content/canvas/src/WebGLContextGL.cpp +++ b/content/canvas/src/WebGLContextGL.cpp @@ -5383,9 +5383,6 @@ WebGLContext::VertexAttribPointer(WebGLuint index, WebGLint size, WebGLenum type WebGLboolean normalized, WebGLsizei stride, WebGLintptr byteOffset) { - // XXXbz Preserving the old (buggy) behavior for now. See bug 749497. - byteOffset = int32_t(byteOffset); - if (!IsContextStable()) return;