libobs: Fix uninitialized variable warning
This commit is contained in:
parent
8810e7ae98
commit
ef72eb70ec
@ -2224,7 +2224,7 @@ static inline void obs_source_main_render(obs_source_t *source)
|
||||
bool srgb_aware = (flags & OBS_SOURCE_SRGB) != 0;
|
||||
bool default_effect = !source->filter_parent &&
|
||||
source->filters.num == 0 && !custom_draw;
|
||||
bool previous_srgb;
|
||||
bool previous_srgb = false;
|
||||
|
||||
if (!srgb_aware) {
|
||||
previous_srgb = gs_get_linear_srgb();
|
||||
|
Loading…
x
Reference in New Issue
Block a user