| Index: Source/platform/graphics/ImageBuffer.cpp
|
| diff --git a/Source/platform/graphics/ImageBuffer.cpp b/Source/platform/graphics/ImageBuffer.cpp
|
| index b85322effef6821e99dd8cb9d4f5b67e8b1d7bb4..8ca0fe7b9254b1ff7b3a3ccdb07dc263606a992f 100644
|
| --- a/Source/platform/graphics/ImageBuffer.cpp
|
| +++ b/Source/platform/graphics/ImageBuffer.cpp
|
| @@ -202,7 +202,7 @@ bool ImageBuffer::copyToPlatformTexture(WebGraphicsContext3D* context, Platform3
|
|
|
| // The canvas is stored in an inverted position, so the flip semantics are reversed.
|
| context->pixelStorei(GC3D_UNPACK_FLIP_Y_CHROMIUM, !flipY);
|
| - context->copyTextureCHROMIUM(GL_TEXTURE_2D, sourceTexture, texture, internalFormat, destType);
|
| + context->copyTextureCHROMIUM(GL_TEXTURE_2D, sourceTexture, texture, internalFormat, destType, flipY ? GL_FALSE : GL_TRUE, GL_FALSE, premultiplyAlpha ? GL_FALSE : GL_TRUE);
|
|
|
| context->pixelStorei(GC3D_UNPACK_FLIP_Y_CHROMIUM, false);
|
| context->pixelStorei(GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, false);
|
|
|