Call hooks_restore() from destructor

This commit is contained in:
8dcc 2023-07-25 20:37:52 +02:00
parent 74f222c1db
commit 82580503ce
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ void unload() {
/* TODO: Remove our cvars */
globals_restore();
hooks_restore();
GL_UNHOOK(glColor4f); /* Manually restore OpenGL hooks here */
}