Use information available during DoMousePicking instead of params from

last render in MapWidget
This commit is contained in:
AdenKoperczak 2025-02-03 10:47:09 -05:00
parent 4038fb2c43
commit 36e8690ad1
6 changed files with 9 additions and 22 deletions

View file

@ -48,7 +48,6 @@ void DrawLayer::Render(const QMapLibre::CustomLayerRenderParameters& params)
{
gl::OpenGLFunctions& gl = p->context_->gl();
p->textureAtlas_ = p->context_->GetTextureAtlas();
p->context_->set_render_parameters(params);
// Determine if the texture atlas changed since last render
std::uint64_t newTextureAtlasBuildCount =