From 4faa4b590791bad9a3174eda5ca815e64ca5f888 Mon Sep 17 00:00:00 2001 From: Matias Juntunen <matias.juntunen@gmail.com> Date: Mon, 9 Apr 2012 19:51:29 -0700 Subject: [PATCH] Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert --- content/canvas/src/WebGLContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/canvas/src/WebGLContext.h b/content/canvas/src/WebGLContext.h index 1fa2536688590..42775077b4e0a 100644 --- a/content/canvas/src/WebGLContext.h +++ b/content/canvas/src/WebGLContext.h @@ -1167,7 +1167,7 @@ public: return mCachedMaxUshortElement; } else { mHasCachedMaxUshortElement = true; - mCachedMaxUshortElement = FindMaxElementInSubArray<GLshort>(mByteLength>>1, 0); + mCachedMaxUshortElement = FindMaxElementInSubArray<GLushort>(mByteLength>>1, 0); return mCachedMaxUshortElement; } } -- GitLab