libobs: Remove unused variables

This commit is contained in:
PatTheMav
2023-02-16 20:53:39 +01:00
committed by Jim
parent fb7a9edadc
commit db3a01db6b
-2
View File
@@ -221,7 +221,6 @@ static const char *render_output_texture_name = "render_output_texture";
static inline gs_texture_t *
render_output_texture(struct obs_core_video_mix *mix)
{
struct obs_core_video *video = &obs->video;
gs_texture_t *texture = mix->render_texture;
gs_texture_t *target = mix->output_texture;
uint32_t width = gs_texture_get_width(target);
@@ -1055,7 +1054,6 @@ static inline void update_active_state(struct obs_core_video_mix *video)
os_atomic_load_long(&video->gpu_encoder_active) > 0;
const bool active = raw_active || gpu_active;
#else
const bool gpu_active = 0;
const bool active = raw_active;
#endif