mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
c7cfbff7dd
The graphics subsystem in OBS is freeing memory it didn't allocate, resulting in stack/heap corruption and other kinds of messy situations. The official "fix" for this is to use bmalloc, but then you lose any kind of ability to re-use the same buffer for multiple vertex buffers or update on the fly without adjusting code that is possibly outside of your control (such as in libraries). This works around the issues by "patching" the gs_vertexbuffer object to no longer hold a reference to the gs_vb_data object. Currently only D3D11 is supported for this kind of hack and it might break in a future obs-studio release. PR fixing this Issue: https://github.com/jp9000/obs-studio/pull/993 |
||
---|---|---|
.. | ||
filter-blur.cpp | ||
filter-blur.h | ||
filter-displacement.cpp | ||
filter-displacement.h | ||
filter-shape.cpp | ||
filter-shape.h | ||
filter-transform.cpp | ||
filter-transform.h | ||
gs-effect.cpp | ||
gs-effect.h | ||
gs-helper.cpp | ||
gs-helper.h | ||
gs-indexbuffer.cpp | ||
gs-indexbuffer.h | ||
gs-mipmapper.cpp | ||
gs-mipmapper.h | ||
gs-rendertarget.cpp | ||
gs-rendertarget.h | ||
gs-texture.cpp | ||
gs-texture.h | ||
gs-vertex.cpp | ||
gs-vertex.h | ||
gs-vertexbuffer.cpp | ||
gs-vertexbuffer.h | ||
plugin.cpp | ||
plugin.h | ||
strings.h | ||
version.h.in |