gfx/source-texture: Fix bad ref with Debug compiles

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-08-13 18:42:58 +02:00
parent c4de205d52
commit 30134bd284

View file

@ -81,7 +81,7 @@ std::shared_ptr<streamfx::obs::gs::texture> streamfx::gfx::source_texture::rende
if (_child) {
#ifdef ENABLE_PROFILING
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
auto op = _rt->render(static_cast<uint32_t>(width), static_cast<uint32_t>(height));
vec4 black;