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:
Matthieu Cunzi
2020-02-27 05:28:59 -08:00
committed by jp9000
parent 72e770458f
commit 74acbd7ed0
17 changed files with 2943 additions and 5 deletions

View File

@@ -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);