Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 97ccc3b

Browse files
committed
8261632: Cached text AA rendering crashes with Metal API validation
1 parent 234186f commit 97ccc3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLVertexCache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Constants that control the size of the vertex cache.
3434
*/
35-
#define MTLVC_MAX_INDEX 1536
35+
#define MTLVC_MAX_INDEX 250
3636

3737
/**
3838
* Constants that control the size of the texture tile cache used for

0 commit comments

Comments
 (0)