From c28c5261c71cca418fc4f917216045989792f111 Mon Sep 17 00:00:00 2001 From: Jeff Gilbert Date: Fri, 16 Dec 2011 14:24:46 -0800 Subject: [PATCH] Bug 698169 - Make WebGL texSubImage2D respect alpha-premultiplied DOM sources - r=bjacob --- content/canvas/src/WebGLContextGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/canvas/src/WebGLContextGL.cpp b/content/canvas/src/WebGLContextGL.cpp index b86f7f72d869..5c49904584f2 100644 --- a/content/canvas/src/WebGLContextGL.cpp +++ b/content/canvas/src/WebGLContextGL.cpp @@ -5139,7 +5139,7 @@ WebGLContext::TexSubImage2D_dom(WebGLenum target, WebGLint level, format, type, isurf->Data(), byteLength, -1, - srcFormat, true); + srcFormat, mPixelStorePremultiplyAlpha); } bool