obs-StreamFX/source/obs
Michael Fabian 'Xaymar' Dirks 0c447f4055 gs-effect: Use std::shared_ptr and track effect lifetime
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.
2019-08-04 23:12:30 +02:00
..
gs gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
obs-source-tracker.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
obs-source-tracker.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
obs-source.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
obs-source.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
obs-tools.cpp project: Clang support 2019-04-19 09:42:15 +02:00
obs-tools.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00