just to be safe set overlay hook to empty func on exit
This commit is contained in:
parent
d4deaef242
commit
a48637dead
@ -1823,6 +1823,7 @@ void Steam_Overlay::UnSetupOverlay()
|
|||||||
// I assume because the game de-initializes DX later after closing Steam APIs
|
// I assume because the game de-initializes DX later after closing Steam APIs
|
||||||
// this hacky solution just sets it to an empty function
|
// this hacky solution just sets it to an empty function
|
||||||
_renderer->OverlayHookReady = [](InGameOverlay::OverlayHookState){};
|
_renderer->OverlayHookReady = [](InGameOverlay::OverlayHookState){};
|
||||||
|
_renderer->OverlayProc = [](){};
|
||||||
|
|
||||||
allow_renderer_frame_processing(false, true);
|
allow_renderer_frame_processing(false, true);
|
||||||
obscure_game_input(false);
|
obscure_game_input(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user