Fixed overlay now showing on some games

In sanctum2, not writing in our own context makes the game crash.
This commit is contained in:
Nemirtingas 2019-09-03 17:25:09 +02:00
parent 1016e7f47f
commit 6ebc946607
2 changed files with 39 additions and 12 deletions

View file

@ -19,6 +19,8 @@ private:
// Variables
bool hooked;
bool initialized;
Display *display;
GLXContext context;
// Functions
OpenGLX_Hook();