diff --git a/src/main.c b/src/main.c index f9f288d..92e5756 100644 --- a/src/main.c +++ b/src/main.c @@ -46,6 +46,7 @@ void unload() { /* TODO: Remove our cvars */ globals_restore(); + hooks_restore(); GL_UNHOOK(glColor4f); /* Manually restore OpenGL hooks here */ }