From c42047cb6869225d657a472e802ca9fce14550a5 Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Sun, 7 Aug 2022 08:26:59 +0900 Subject: [PATCH] libobs: Fix missing pair of GS_DEBUG_MARKER The conditional branch added by 4fe6803fe resulted GS_DEBUG_MARKER_END is not called when the branch condition is failed. --- libobs/obs-display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libobs/obs-display.c b/libobs/obs-display.c index 75ed1ecbe..2ac49fd50 100644 --- a/libobs/obs-display.c +++ b/libobs/obs-display.c @@ -250,10 +250,10 @@ void render_display(struct obs_display *display) render_display_end(); - GS_DEBUG_MARKER_END(); - gs_present(); } + + GS_DEBUG_MARKER_END(); } void obs_display_set_enabled(obs_display_t *display, bool enable)