diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-07-30 17:23:41 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-07-30 17:25:04 +0200 |
| commit | 6300ff493fe90fd06162d2f4ce91339c07a50d11 (patch) | |
| tree | 5ee5bc676567ab2b025067d6bebd992f659144b9 /src/main/kotlin/util/mc | |
| parent | a30e0810604ee9122758879205434563ccc94738 (diff) | |
| download | Firmament-6300ff493fe90fd06162d2f4ce91339c07a50d11.tar.gz Firmament-6300ff493fe90fd06162d2f4ce91339c07a50d11.tar.bz2 Firmament-6300ff493fe90fd06162d2f4ce91339c07a50d11.zip | |
feat(dev): unpleasant gradient cape
Diffstat (limited to 'src/main/kotlin/util/mc')
| -rw-r--r-- | src/main/kotlin/util/mc/CustomRenderPassHelper.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |
