obs/gs/mipmapper: Fix unicode support

Related: #359
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-11-28 23:32:01 +01:00
parent 0a71af9d6a
commit cc1b9c1559

View file

@ -71,11 +71,7 @@ gs::mipmapper::mipmapper()
_vb->update();
{
char* path = obs_module_file("effects/mipgen.effect");
_effect = gs::effect::create(path);
bfree(path);
}
_effect = gs::effect::create(streamfx::data_file_path("effects/mipgen.effect").u8string());
}
void gs::mipmapper::rebuild(std::shared_ptr<gs::texture> source, std::shared_ptr<gs::texture> target)