mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-22 05:54:56 -04:00
win-capture: Fix bug with GDI monitor capture
With the new code that checks to see if the source is visible, I didn't realize that I actually didn't set the source variable, so it would end up never actually drawing.
This commit is contained in:
1 parent
6b8b5e5f64
commit
cca34bfb4e
1 file changed
+1
-1
@@ -132,10 +132,10 @@ static void *monitor_capture_create(obs_data_t *settings, obs_source_t *source)
|
||||
|
||||
capture = bzalloc(sizeof(struct monitor_capture));
|
||||
capture->opaque_effect = opaque_effect;
|
||||
capture->source = source;
|
||||
|
||||
update_settings(capture, settings);
|
||||
|
||||
UNUSED_PARAMETER(source);
|
||||
return capture;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user