| 421 | } |
| 422 | |
| 423 | void TextureManager::OnVisualScaleChanged(ref_ptr<dp::GraphicsContext> context, Params const & params) |
| 424 | { |
| 425 | m_resPostfix = params.m_resPostfix; |
| 426 | |
| 427 | OnSwitchMapStyle(context); |
| 428 | |
| 429 | if (context->GetApiVersion() == dp::ApiVersion::Vulkan) |
| 430 | m_stipplePenTexture->DeferredCleanup(m_texturesToCleanup); |
| 431 | |
| 432 | InitStipplePen(params); |
| 433 | } |
| 434 | |
| 435 | void TextureManager::InvalidateArrowTexture(ref_ptr<dp::GraphicsContext> context, |
| 436 | std::string const & texturePath /* = {} */, |
no test coverage detected