diff --git a/internal/SceneGPU.h b/internal/SceneGPU.h index ee8ba122..3171629d 100644 --- a/internal/SceneGPU.h +++ b/internal/SceneGPU.h @@ -455,7 +455,7 @@ inline Ray::TextureHandle Ray::NS::Scene::AddAtlasTexture_nolock(const tex_desc_ } } - log_->Info("Ray: Texture '%s' loaded (atlas = %i, %ix%i)", _t.name, int(t.atlas), _t.w, _t.h); + log_->Info("Ray: Texture '%s' loaded (atlas = %i, %ix%i)", _t.name.data(), int(t.atlas), _t.w, _t.h); log_->Info("Ray: Atlasses are (RGBA[%i], RGB[%i], RG[%i], R[%i], BC1[%i], BC3[%i], BC4[%i], BC5[%i])", tex_atlases_[0].page_count(), tex_atlases_[1].page_count(), tex_atlases_[2].page_count(), tex_atlases_[3].page_count(), tex_atlases_[4].page_count(), tex_atlases_[5].page_count(), @@ -730,7 +730,7 @@ inline Ray::TextureHandle Ray::NS::Scene::AddBindlessTexture_nolock(const tex_de temp_stage_buf.FreeImmediate(); - log_->Info("Ray: Texture '%s' loaded (%ix%i)", _t.name, _t.w, _t.h); + log_->Info("Ray: Texture '%s' loaded (%ix%i)", _t.name.data(), _t.w, _t.h); assert(ret.first <= 0x00ffffff);