Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8241594: Lanai: javax/swing/JFileChooser/8013442: SIGSEGV at AMDMTLBr…
  • Loading branch information
Alexey Ushakov committed Mar 26, 2020
1 parent 3da068b commit 9226e8450189892c414c1bdd43ef3e8a93c80ec3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLTexurePool.m
@@ -186,6 +186,7 @@ - (MTLPooledTextureHandle *) getTexture:(int)width height:(int)height format:(MT

id <MTLTexture> tex = [[self.device newTextureWithDescriptor:textureDescriptor] autorelease];
minDeltaTpi = [[[MTLTexturePoolItem alloc] initWithTexture:tex] autorelease];
minDeltaTpi.isMultiSample = isMultiSample;
NSMutableArray * cell = _cells[cellY0 * _poolCellWidth + cellX0];
if (cell == NULL) {
cell = [[NSMutableArray arrayWithCapacity:10] retain];

0 comments on commit 9226e84

Please sign in to comment.