updated vb01

This commit is contained in:
devZoGok
2025-07-06 13:04:33 +03:00
parent 3862baa5f6
commit f072ad1586
2 changed files with 2 additions and 2 deletions
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ namespace battleship{
Node *rectNode = ConcreteGuiManager::getSingleton()->getButton("minimap")->getRectNode();
Material *mat = rectNode->getMesh(0)->getMaterial();
Texture *tex = ((Material::TextureUniform*)mat->getUniform("diffuseMap"))->value;
tex->loadImageData(asset);
tex->loadImageData(asset, false);
}
void Map::Minimap::updateCamFrame(Button *minimapButton){