mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 12:25:11 +00:00
0c447f4055
This fixes the case where the effect vanishes, but we still hold an invalid pointer to a parameter of that effect. With the new code, the effect will not vanish as long as an effect pointer exists. However, all effects must be created either through std::shared_ptr or std::make_shared. If they were not made through one of those means, the code will crash on the ->shared_from_this() call. |
||
---|---|---|
.. | ||
gs-effect.cpp | ||
gs-effect.hpp | ||
gs-helper.cpp | ||
gs-helper.hpp | ||
gs-indexbuffer.cpp | ||
gs-indexbuffer.hpp | ||
gs-limits.hpp | ||
gs-mipmapper.cpp | ||
gs-mipmapper.hpp | ||
gs-rendertarget.cpp | ||
gs-rendertarget.hpp | ||
gs-sampler.cpp | ||
gs-sampler.hpp | ||
gs-texture.cpp | ||
gs-texture.hpp | ||
gs-vertex.cpp | ||
gs-vertex.hpp | ||
gs-vertexbuffer.cpp | ||
gs-vertexbuffer.hpp |