mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 07:30:04 +00:00
Update placefile icon texture coordinates when the texture atlas changes
This commit is contained in:
parent
e021484bfb
commit
565734217b
7 changed files with 55 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue