Skip to content

Commit

Permalink
gfx/source-texture: Fix bad ref with Debug compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Aug 13, 2022
1 parent 0e4b80d commit 4b45650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gfx/gfx-source-texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4b45650

Please # to comment.