mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs: Fix wrong enum in obs_sceneitem_get_blending_method
Detected by PVS Studio.
This commit is contained in:
+1
-1
@@ -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