Remove autoresizingMask

It isn't required - AWT resizes the CALayer when the size of the Canvas
changes. I think this might be left over from the insets hack.
master
Graham 4 years ago
parent a0de6a8f4c
commit 380ada79d7
  1. 1
      gl-natives/src/main/c/jaggl.c

@ -227,7 +227,6 @@ static void *jaggl_proc_addr(const char *name) {
self.asynchronous = NO;
self.opaque = YES;
self.needsDisplayOnBoundsChange = YES;
self.autoresizingMask = kCALayerWidthSizable | kCALayerHeightSizable;
}
lock = [[NSLock alloc] init];
return self;

Loading…
Cancel
Save