overloads, tutorial 04 init
This commit is contained in:
@@ -143,7 +143,7 @@ StaPipTextureBag* StaticPipeline::getTextureBag(
|
||||
auto* result = new StaPipTextureBag();
|
||||
|
||||
result->texture =
|
||||
rendererCore->texture.repository.getBySpriteOrMesh(material->id);
|
||||
rendererCore->texture.repository.getByMeshMaterialId(material->id);
|
||||
|
||||
TYRA_ASSERT(
|
||||
result->texture, "Texture for material: ", material->name,
|
||||
|
||||
Reference in New Issue
Block a user