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:
parent
d9f88e763e
commit
be9a2ff1bb
10 changed files with 378 additions and 181 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue