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
1 changed files with 1 additions and 5 deletions

View File

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