1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Implemented support for Android OpenGL native ARGB pixel format.

This commit is contained in:
Timur Doumler 2015-05-05 17:41:24 +01:00
parent d9f88e763e
commit be9a2ff1bb
10 changed files with 378 additions and 181 deletions

View file

@ -433,11 +433,11 @@ void LowLevelGraphicsPostScriptRenderer::writeImage (const Image& im,
{
PixelARGB p (*(const PixelARGB*) pixelData);
p.unpremultiply();
pixel = Colours::white.overlaidWith (Colour (p.getARGB()));
pixel = Colours::white.overlaidWith (Colour (p));
}
else if (im.isRGB())
{
pixel = Colour (((const PixelRGB*) pixelData)->getARGB());
pixel = Colour (*((const PixelRGB*) pixelData));
}
else
{