mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 15:16:13 -05:00
Fix for enum_monitors
Function enum_monitors would always stop after first found monitor due to wrong return value.
This commit is contained in:
@@ -50,7 +50,7 @@ static BOOL CALLBACK enum_monitor(HMONITOR handle, HDC hdc, LPRECT rect,
|
||||
|
||||
UNUSED_PARAMETER(hdc);
|
||||
UNUSED_PARAMETER(handle);
|
||||
return (monitor->desired_id < monitor->cur_id++);
|
||||
return (monitor->desired_id > monitor->cur_id++);
|
||||
}
|
||||
|
||||
static void update_monitor(struct monitor_capture *capture,
|
||||
|
||||
Reference in New Issue
Block a user