diff options
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/drawgl.m')
| -rwxr-xr-x | macosx/plugins/DFXVideo/macsrc/drawgl.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/drawgl.m b/macosx/plugins/DFXVideo/macsrc/drawgl.m index 5eae22dd..f965817b 100755 --- a/macosx/plugins/DFXVideo/macsrc/drawgl.m +++ b/macosx/plugins/DFXVideo/macsrc/drawgl.m @@ -23,6 +23,7 @@ #include "draw.h" #include "gpu.h" #include "menu.h" +#include "ARCBridge.h" //////////////////////////////////////////////////////////////////////////////////// // misc globals @@ -132,7 +133,7 @@ void CloseDisplay(void) { if (gameController) { [gameController close]; - [gameController release]; + RELEASEOBJ(gameController); gameController = nil; gameWindow = nil; } |
