Created a define to not compile overlay.

This commit is contained in:
Nemirtingas
2019-08-14 15:09:57 +02:00
parent 40d7237ab0
commit d87760b78b
16 changed files with 36 additions and 34 deletions

View File

@ -1,6 +1,8 @@
#include "../dll/dll.h"
#include "Hook_Manager.h"
#ifndef NO_OVERLAY
#include "../detours/detours.h"
#include "DX12_Hook.h"
@ -172,4 +174,6 @@ void Hook_Manager::ChangeGameWindow(HWND hWnd) const
void Hook_Manager::CallOverlayProc(int width, int height) const
{
overlay->OverlayProc(width, height);
}
}
#endif//NO_OVERLAY