0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00

win-capture: Always refetch game capture addresses

This is a fast/immediate solution to a possible bug with caching the DLL
versions for game capture hook addresses - may as well just reload game
capture hook addresses each time the program is run for the time being
just to be safe.  Load time will increase a little for the time being
but it's worth it to prevent any issues with game capture.
This commit is contained in:
jp9000 2016-03-13 08:20:37 -07:00
parent 772f70ec9e
commit 195fe9a560

View File

@ -50,7 +50,7 @@ bool obs_module_load(void)
obs_register_source(&window_capture_info);
if (cached_versions_match() && load_cached_graphics_offsets(IS32BIT)) {
if (/*cached_versions_match() &&*/ load_cached_graphics_offsets(IS32BIT)) {
load_cached_graphics_offsets(!IS32BIT);
obs_register_source(&game_capture_info);