| 11 | using namespace gte; |
| 12 | |
| 13 | DrawTarget::~DrawTarget() |
| 14 | { |
| 15 | msLFDMutex.lock(); |
| 16 | { |
| 17 | for (auto const& listener : msLFDSet) |
| 18 | { |
| 19 | listener->OnDestroy(this); |
| 20 | } |
| 21 | } |
| 22 | msLFDMutex.unlock(); |
| 23 | } |
| 24 | |
| 25 | DrawTarget::DrawTarget(uint32_t numRenderTargets, uint32_t rtFormat, |
| 26 | uint32_t width, uint32_t height, bool hasRTMipmaps, |