diff --git a/libs/gfx/source/gltf_mesh.cpp b/libs/gfx/source/gltf_mesh.cpp index fc1e4540..d69d691c 100644 --- a/libs/gfx/source/gltf_mesh.cpp +++ b/libs/gfx/source/gltf_mesh.cpp @@ -69,7 +69,7 @@ namespace psemek::gfx { auto data = uri_loader(texture.uri); auto & target = textures_.emplace_back(); - target.load(gfx::read_png(io::memory_istream(data.data(), data.data() + data.size()))); + target.load_srgb(gfx::read_png(io::memory_istream(data.data(), data.data() + data.size()))); target.linear_mipmap_filter(); target.anisotropy(); target.generate_mipmap();