Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8261908: DrawScanline vertex calculation is not proper
  • Loading branch information
jayathirthrao committed Feb 17, 2021
1 parent fe605e3 commit 946a51c45567dfec8c1f2f6b61f620a35ecd68ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.m
@@ -317,7 +317,7 @@ void MTLRenderer_DrawPoly(MTLContext *mtlc, BMTLSDOps * dstOps,

const int SCANLINE_MAX_VERTEX_SIZE = 4096;
const int VERTEX_STRUCT_SIZE = 8;
const int NUM_OF_VERTICES_PER_SCANLINE = 3;
const int NUM_OF_VERTICES_PER_SCANLINE = 2;

void
MTLRenderer_DrawScanlines(MTLContext *mtlc, BMTLSDOps * dstOps,

0 comments on commit 946a51c

Please sign in to comment.