Update placefile icon texture coordinates when the texture atlas changes

This commit is contained in:
Dan Paulat 2023-08-19 22:52:38 -05:00
parent e021484bfb
commit 565734217b
7 changed files with 55 additions and 16 deletions

View file

@ -41,6 +41,17 @@ DrawItem::~DrawItem() = default;
DrawItem::DrawItem(DrawItem&&) noexcept = default;
DrawItem& DrawItem::operator=(DrawItem&&) noexcept = default;
void DrawItem::Render(
const QMapLibreGL::CustomLayerRenderParameters& /* params */)
{
}
void DrawItem::Render(const QMapLibreGL::CustomLayerRenderParameters& params,
bool /* textureAtlasChanged */)
{
Render(params);
}
void DrawItem::UseDefaultProjection(
const QMapLibreGL::CustomLayerRenderParameters& params,
GLint uMVPMatrixLocation)