mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2DImage: Flush CPU-only changes if necessary when copying images
This commit is contained in:
parent
21b0cd4663
commit
5bb20e8e04
1 changed files with 4 additions and 1 deletions
|
|
@ -680,9 +680,12 @@ void Direct2DPixelData::copyPages (ComSmartPtr<ID2D1Device1> deviceToUse,
|
|||
Point<int> dstPoint,
|
||||
Rectangle<int> srcRect)
|
||||
{
|
||||
auto& srcPages = srcData.getPagesStructForDevice (deviceToUse);
|
||||
srcPages.getPages();
|
||||
|
||||
copyAcrossMultiplePages (dstData.getPagesStructForDevice (deviceToUse),
|
||||
dstPoint,
|
||||
srcData.getPagesStructForDevice (deviceToUse),
|
||||
srcPages,
|
||||
srcRect,
|
||||
copyDstFromSrc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue