mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-27 22:03:01 +00:00
1c072d67cb
Rendering happens with cached Geometry that is only updated when necessary, such as when the user changes settings. This optimization was necessary to reduce CPU and GPU usage as we can simply re-use the same geomtry instead of recalculating it. However, the actual source size was never checked. That meant that when a source changed size through any means, the filter would not update the geomtry accordingly, and the result was a squished or stretched image. With this, the source size is now checked each tick. Fixes #48 |
||
---|---|---|
.. | ||
filters | ||
gfx | ||
obs | ||
sources | ||
plugin.cpp | ||
plugin.hpp | ||
strings.hpp | ||
util-event.cpp | ||
util-event.hpp | ||
util-math.cpp | ||
util-math.hpp | ||
util-memory.cpp | ||
util-memory.hpp | ||
utility.cpp | ||
utility.hpp |