mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2DImage: Mark CPU storage as outdated after modifying GPU storage by copying
This commit is contained in:
parent
457de394e0
commit
4012677fdf
1 changed files with 2 additions and 0 deletions
|
|
@ -683,6 +683,8 @@ void Direct2DPixelData::copyPages (ComSmartPtr<ID2D1Device1> deviceToUse,
|
|||
srcData.getPagesStructForDevice (deviceToUse),
|
||||
srcRect,
|
||||
copyDstFromSrc);
|
||||
|
||||
dstData.state = State::outdated;
|
||||
}
|
||||
|
||||
std::unique_ptr<LowLevelGraphicsContext> Direct2DPixelData::createLowLevelContext()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue