Skip to content

Commit 754b3e8

Browse files
committed
fix(triangulator): Incorrect SwanSong vertex size
1 parent f53d004 commit 754b3e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/main/java/com/falsepattern/falsetweaks/modules/triangulator

src/main/java/com/falsepattern/falsetweaks/modules/triangulator/VertexInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ private static void initShaderCompat() {
4040
}
4141
shaderInitialized = true;
4242
if (Compat.swanSongInstalled()) {
43-
SHADER_SIZE = SwansongCompat.getVertexStrideInts(1);
44-
shaderOffset = SHADER_SIZE;
43+
SHADER_SIZE = 20;
44+
shaderOffset = 20;
4545
} else {
4646
SHADER_SIZE = 18;
4747
shaderOffset = 18;

0 commit comments

Comments
 (0)