mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
parent
0a71af9d6a
commit
cc1b9c1559
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue