diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/textures.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/textures.cc b/src/render/textures.cc index bd75a45..15c9bd5 100644 --- a/src/render/textures.cc +++ b/src/render/textures.cc @@ -414,7 +414,7 @@ size_t Textures::bind(const size_t texture, const bool filter) void Textures::image_loader(model::Layer *layer) { if (layer->texture().size() > 0 ) { - size_t id = load(layer->texture()); + size_t id = load(layer->texture().c_str()); layer->set_texture_id(id); layer->set_size(texture_size[id]); } |