win-capture: Add Vulkan capture
Co-authored-by: jp9000 <obs.jim@gmail.com> Co-authored-by: jpark37 <jpark37@users.noreply.github.com>
This commit is contained in:
@@ -65,6 +65,8 @@ void wait_for_hook_initialization(void)
|
||||
}
|
||||
}
|
||||
|
||||
void init_hook_files(void);
|
||||
|
||||
bool obs_module_load(void)
|
||||
{
|
||||
struct win_version_info ver;
|
||||
@@ -94,6 +96,7 @@ bool obs_module_load(void)
|
||||
|
||||
char *config_path = obs_module_config_path(NULL);
|
||||
|
||||
init_hook_files();
|
||||
init_hooks_thread =
|
||||
CreateThread(NULL, 0, init_hooks, config_path, 0, NULL);
|
||||
obs_register_source(&game_capture_info);
|
||||
|
Reference in New Issue
Block a user