From 6300ff493fe90fd06162d2f4ce91339c07a50d11 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 30 Jul 2025 17:23:41 +0200 Subject: feat(dev): unpleasant gradient cape --- src/main/kotlin/util/mc/CustomRenderPassHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/util/mc') diff --git a/src/main/kotlin/util/mc/CustomRenderPassHelper.kt b/src/main/kotlin/util/mc/CustomRenderPassHelper.kt index 1bd1148..12f98e4 100644 --- a/src/main/kotlin/util/mc/CustomRenderPassHelper.kt +++ b/src/main/kotlin/util/mc/CustomRenderPassHelper.kt @@ -109,7 +109,7 @@ class CustomRenderPassHelper( } fun allocateByteBuf(size: Int, init: (Std140Builder) -> Unit): ByteBuffer { - return Std140Builder.intoBuffer( + return Std140Builder.intoBuffer( // TODO: i really dont know about this 16 align? but it seems to be generally correct. ByteBuffer .allocateDirect(MathHelper.roundUpToMultiple(size, 16)) .order(ByteOrder.nativeOrder()) -- cgit