| Index: Source/core/html/canvas/WebGLRenderingContext.cpp
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp
|
| index 70fab87b12bc70cefa7f31e3d7e51e538c7d410f..737949f074e2d190de3f4b48bd3689f8a54bd0cd 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContext.cpp
|
| +++ b/Source/core/html/canvas/WebGLRenderingContext.cpp
|
| @@ -3435,12 +3435,11 @@ void WebGLRenderingContext::readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC
|
| m_context->readPixels(x, y, width, height, format, type, data);
|
| }
|
|
|
| -#if OS(DARWIN) || OS(QNX)
|
| +#if OS(DARWIN)
|
| if (m_isRobustnessEXTSupported) // we haven't computed padding
|
| m_context->computeImageSizeInBytes(format, type, width, height, m_packAlignment, &totalBytesRequired, &padding);
|
| - // FIXME: remove this section when GL driver bug on Mac AND the GLES driver bug
|
| - // on QC & Imagination QNX is fixed, i.e., when alpha is off, readPixels should
|
| - // set alpha to 255 instead of 0.
|
| + // FIXME: remove this section when GL driver bug on Mac is fixed, i.e.,
|
| + // when alpha is off, readPixels should set alpha to 255 instead of 0.
|
| if (!m_framebufferBinding && !m_context->getContextAttributes().alpha) {
|
| unsigned char* pixels = reinterpret_cast<unsigned char*>(data);
|
| for (GC3Dsizei iy = 0; iy < height; ++iy) {
|
|
|