mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-04 12:34:35 +01:00
remove observer as it was causing a crash on exit
This commit is contained in:
parent
7f46fb2fbd
commit
7b5d596c9b
|
|
@ -95,10 +95,10 @@ static NSAutoreleasePool *pool;
|
|||
_modifierFlags = 0;
|
||||
if (self != nil) {
|
||||
_pixelFormat = [format retain];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(_surfaceNeedsUpdate:)
|
||||
name:NSViewGlobalFrameDidChangeNotification
|
||||
object:self];
|
||||
//[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
// selector:@selector(_surfaceNeedsUpdate:)
|
||||
// name:NSViewGlobalFrameDidChangeNotification
|
||||
// object:self];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue