mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-07 22:37:15 +00:00
nil out sharedViewController in case bindDefaultFBO is called again
This commit is contained in:
parent
152dc2192f
commit
67c6ecdece
@ -221,6 +221,8 @@ static GraphicsContext *graphicsContext;
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
sharedViewController = nil;
|
||||
|
||||
if ([EAGLContext currentContext] == self.context) {
|
||||
[EAGLContext setCurrentContext:nil];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user