mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
EdgeTable performance tuning.
This commit is contained in:
parent
df668c3e5f
commit
08c9d5d22f
1 changed files with 2 additions and 2 deletions
|
|
@ -495,7 +495,7 @@ void EdgeTable::intersectWithEdgeTableLine (const int y, const int* otherLine)
|
|||
if (destTotal >= maxEdgesPerLine)
|
||||
{
|
||||
dest[0] = destTotal;
|
||||
remapTableForNumEdges (maxEdgesPerLine + juce_edgeTableDefaultEdgesPerLine);
|
||||
remapTableForNumEdges (jmax (256, destTotal * 2));
|
||||
dest = table + lineStrideElements * y;
|
||||
}
|
||||
|
||||
|
|
@ -512,7 +512,7 @@ void EdgeTable::intersectWithEdgeTableLine (const int y, const int* otherLine)
|
|||
if (destTotal >= maxEdgesPerLine)
|
||||
{
|
||||
dest[0] = destTotal;
|
||||
remapTableForNumEdges (maxEdgesPerLine + juce_edgeTableDefaultEdgesPerLine);
|
||||
remapTableForNumEdges (jmax (256, destTotal * 2));
|
||||
dest = table + lineStrideElements * y;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue