libobs: Fix wrong enum in obs_sceneitem_get_blending_method

Detected by PVS Studio.
master
Richard Stanway 2022-04-19 03:09:55 +02:00
parent 050a29da1a
commit 0bc955bdf2
No known key found for this signature in database
GPG Key ID: 4F96FCA24BCE7BA1
1 changed files with 1 additions and 1 deletions

View File

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