mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
win-capture: Do not render game capture if not active
This commit is contained in:
parent
c5008e9c65
commit
d24a81868e
@ -1394,7 +1394,7 @@ static inline void game_capture_render_cursor(struct game_capture *gc)
|
||||
static void game_capture_render(void *data, gs_effect_t *effect)
|
||||
{
|
||||
struct game_capture *gc = data;
|
||||
if (!gc->texture)
|
||||
if (!gc->texture || !gc->active)
|
||||
return;
|
||||
|
||||
effect = obs_get_base_effect(gc->config.allow_transparency ?
|
||||
|
Loading…
Reference in New Issue
Block a user