Call hooks_restore() from destructor
This commit is contained in:
@ -46,6 +46,7 @@ void unload() {
|
|||||||
/* TODO: Remove our cvars */
|
/* TODO: Remove our cvars */
|
||||||
|
|
||||||
globals_restore();
|
globals_restore();
|
||||||
|
hooks_restore();
|
||||||
|
|
||||||
GL_UNHOOK(glColor4f); /* Manually restore OpenGL hooks here */
|
GL_UNHOOK(glColor4f); /* Manually restore OpenGL hooks here */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user