mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-19 15:07:16 -04:00
libobs: Fix wrong enum in obs_sceneitem_get_blending_method
Detected by PVS Studio.
This commit is contained in:
@@ -3021,7 +3021,7 @@ obs_sceneitem_get_blending_method(obs_sceneitem_t *item)
|
||||
{
|
||||
return obs_ptr_valid(item, "obs_sceneitem_get_blending_method")
|
||||
? item->blend_method
|
||||
: OBS_BLEND_NORMAL;
|
||||
: OBS_BLEND_METHOD_DEFAULT;
|
||||
}
|
||||
|
||||
void obs_sceneitem_set_blending_mode(obs_sceneitem_t *item,
|
||||
|
||||
Reference in New Issue
Block a user