mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
nil out sharedViewController in case bindDefaultFBO is called again
This commit is contained in:
parent
152dc2192f
commit
67c6ecdece
1 changed files with 2 additions and 0 deletions
|
@ -221,6 +221,8 @@ static GraphicsContext *graphicsContext;
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
sharedViewController = nil;
|
||||
|
||||
if ([EAGLContext currentContext] == self.context) {
|
||||
[EAGLContext setCurrentContext:nil];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue