linux-pipewire: Always load PipeWire captures
After the removal of GLX, we effectively always load the PipeWire captures. Remove the switch statement.
This commit is contained in:
parent
d00d1e2926
commit
042c6c078c
@ -36,15 +36,7 @@ bool obs_module_load(void)
|
||||
{
|
||||
pw_init(NULL, NULL);
|
||||
|
||||
// OBS PipeWire Screen Capture
|
||||
switch (obs_get_nix_platform()) {
|
||||
#ifdef ENABLE_WAYLAND
|
||||
case OBS_NIX_PLATFORM_WAYLAND:
|
||||
#endif
|
||||
case OBS_NIX_PLATFORM_X11_EGL:
|
||||
pipewire_capture_load();
|
||||
break;
|
||||
}
|
||||
pipewire_capture_load();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user