|
@@ -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
|
|
|
|