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