mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
RenderingHelpers: Disable gamma correction, which breaks colour emoji rendering
This commit is contained in:
parent
c40da067cd
commit
830bccd05f
1 changed files with 0 additions and 8 deletions
|
|
@ -2304,14 +2304,6 @@ public:
|
|||
auto* edgeTableClip = new EdgeTableRegionType (edgeTable);
|
||||
edgeTableClip->edgeTable.translate (x, y);
|
||||
|
||||
if (fillType.isColour())
|
||||
{
|
||||
auto brightness = fillType.colour.getBrightness() - 0.5f;
|
||||
|
||||
if (brightness > 0.0f)
|
||||
edgeTableClip->edgeTable.multiplyLevels (1.0f + 1.6f * brightness);
|
||||
}
|
||||
|
||||
fillShape (*edgeTableClip, false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue