diff --git a/source/gfx/gfx-source-texture.cpp b/source/gfx/gfx-source-texture.cpp index 733b7e6b..dc29091e 100644 --- a/source/gfx/gfx-source-texture.cpp +++ b/source/gfx/gfx-source-texture.cpp @@ -81,7 +81,7 @@ std::shared_ptr 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(width), static_cast(height)); vec4 black;