Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert

This commit is contained in:
Matias Juntunen 2012-04-09 19:51:29 -07:00
parent 28a3d5f866
commit 552bde7b2a

View File

@ -1167,7 +1167,7 @@ public:
return mCachedMaxUshortElement;
} else {
mHasCachedMaxUshortElement = true;
mCachedMaxUshortElement = FindMaxElementInSubArray<GLshort>(mByteLength>>1, 0);
mCachedMaxUshortElement = FindMaxElementInSubArray<GLushort>(mByteLength>>1, 0);
return mCachedMaxUshortElement;
}
}