1
0
Fork 0
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:
reuk 2025-05-06 13:32:57 +01:00
parent 457de394e0
commit 4012677fdf
No known key found for this signature in database

View file

@ -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()