mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Minor code clean-ups.
This commit is contained in:
parent
db08236375
commit
b67c077f0d
54 changed files with 441 additions and 363 deletions
|
|
@ -586,11 +586,9 @@ public:
|
|||
y = y_;
|
||||
generate (scratchBuffer, x, width);
|
||||
|
||||
const uint8* mask = reinterpret_cast <uint8*> (scratchBuffer.getData());
|
||||
if (sizeof (SrcPixelType) == sizeof (PixelARGB))
|
||||
mask += PixelARGB::indexA;
|
||||
|
||||
et.clipLineToMask (x, y_, mask, sizeof (SrcPixelType), width);
|
||||
et.clipLineToMask (x, y_,
|
||||
reinterpret_cast<uint8*> (scratchBuffer.getData()) + SrcPixelType::indexA,
|
||||
sizeof (SrcPixelType), width);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue