mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Fix minimap textures overwrite (#14349)
This commit is contained in:
@@ -79,6 +79,7 @@ struct MinimapData {
|
||||
video::IImage *minimap_mask_square = nullptr;
|
||||
video::ITexture *texture = nullptr;
|
||||
video::ITexture *heightmap_texture = nullptr;
|
||||
bool textures_initialised = false; // True if the following textures are not nullptrs.
|
||||
video::ITexture *minimap_overlay_round = nullptr;
|
||||
video::ITexture *minimap_overlay_square = nullptr;
|
||||
video::ITexture *player_marker = nullptr;
|
||||
@@ -140,6 +141,7 @@ public:
|
||||
|
||||
MinimapModeDef getModeDef() const { return data->mode; }
|
||||
|
||||
video::IImage *getMinimapMask();
|
||||
video::ITexture *getMinimapTexture();
|
||||
|
||||
void blitMinimapPixelsToImageRadar(video::IImage *map_image);
|
||||
|
Reference in New Issue
Block a user