mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
gfx/source-texture: Fix bad ref with Debug compiles
This commit is contained in:
parent
c4de205d52
commit
30134bd284
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ std::shared_ptr<streamfx::obs::gs::texture> streamfx::gfx::source_texture::rende
|
||||||
if (_child) {
|
if (_child) {
|
||||||
#ifdef ENABLE_PROFILING
|
#ifdef ENABLE_PROFILING
|
||||||
auto cctr = streamfx::obs::gs::debug_marker(streamfx::obs::gs::debug_color_capture, "gfx::source_texture '%s'",
|
auto cctr = streamfx::obs::gs::debug_marker(streamfx::obs::gs::debug_color_capture, "gfx::source_texture '%s'",
|
||||||
obs_source_get_name(_child->get()));
|
obs_source_get_name(_child.get()));
|
||||||
#endif
|
#endif
|
||||||
auto op = _rt->render(static_cast<uint32_t>(width), static_cast<uint32_t>(height));
|
auto op = _rt->render(static_cast<uint32_t>(width), static_cast<uint32_t>(height));
|
||||||
vec4 black;
|
vec4 black;
|
||||||
|
|
Loading…
Reference in a new issue