mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
fix: use single triangle for metal post shader vertex
This commit is contained in:
@ -1371,9 +1371,9 @@ fn drawPostShader(
|
|||||||
void,
|
void,
|
||||||
objc.sel("drawPrimitives:vertexStart:vertexCount:"),
|
objc.sel("drawPrimitives:vertexStart:vertexCount:"),
|
||||||
.{
|
.{
|
||||||
@intFromEnum(mtl.MTLPrimitiveType.triangle_strip),
|
@intFromEnum(mtl.MTLPrimitiveType.triangle),
|
||||||
@as(c_ulong, 0),
|
@as(c_ulong, 0),
|
||||||
@as(c_ulong, 4),
|
@as(c_ulong, 3),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user