Fixed Cocoa OpenGL regression, it was completely broken

This commit is contained in:
Lior Halphon 2018-11-22 22:59:29 +02:00
parent a47e3cc62c
commit aaafd482cc

View File

@ -27,6 +27,7 @@
{ {
[super flip]; [super flip];
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
[self.internalView setNeedsDisplay:YES];
[self setNeedsDisplay:YES]; [self setNeedsDisplay:YES];
}); });
} }