From 30134bd28488e17a6b53f02622eb4b481d846bcb Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 13 Aug 2022 18:42:58 +0200 Subject: [PATCH] gfx/source-texture: Fix bad ref with Debug compiles --- source/gfx/gfx-source-texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;