Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
#include <obs-module.h> |
22 |
#include <obs-module.h> |
23 |
#include <obs-nix-platform.h> |
23 |
#include <obs-nix-platform.h> |
|
|
24 |
#include <glad/glad.h> |
24 |
|
25 |
|
25 |
#include <pipewire/pipewire.h> |
26 |
#include <pipewire/pipewire.h> |
26 |
#include "screencast-portal.h" |
27 |
#include "screencast-portal.h" |
Lines 34-39
MODULE_EXPORT const char *obs_module_description(void)
Link Here
|
34 |
|
35 |
|
35 |
bool obs_module_load(void) |
36 |
bool obs_module_load(void) |
36 |
{ |
37 |
{ |
|
|
38 |
obs_enter_graphics(); |
39 |
gladLoadGL(); |
40 |
obs_leave_graphics(); |
41 |
|
37 |
pw_init(NULL, NULL); |
42 |
pw_init(NULL, NULL); |
38 |
|
43 |
|
39 |
screencast_portal_load(); |
44 |
screencast_portal_load(); |