Bug 698169 - Make WebGL texSubImage2D respect alpha-premultiplied DOM sources - r=bjacob

This commit is contained in:
Jeff Gilbert 2011-12-16 14:24:46 -08:00
Родитель 30161e293b
Коммит c28c5261c7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5139,7 +5139,7 @@ WebGLContext::TexSubImage2D_dom(WebGLenum target, WebGLint level,
format, type,
isurf->Data(), byteLength,
-1,
srcFormat, true);
srcFormat, mPixelStorePremultiplyAlpha);
}
bool