From 837c259668f5ed09ca060b2f35de344fdcc92de2 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 17 Jul 2025 11:09:42 -0700 Subject: [PATCH] 1.21.8 - Intel Graphic Fixes --- gradle.properties | 6 +++--- .../com/mojang/blaze3d/vertex/VertexFormat.java.patch | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gradle.properties b/gradle.properties index 918e01b3b1..464f0ab183 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,11 +5,11 @@ org.gradle.daemon=false org.gradle.parallel=true JAVA_VERSION=21 -MC_VERSION=1.21.7 +MC_VERSION=1.21.8 MC_NEXT_VERSION=1.22 -MCP_VERSION=20250630.104312 +MCP_VERSION=20250717.105350 MAPPING_CHANNEL=official -MAPPING_VERSION=1.21.7 +MAPPING_VERSION=1.21.8 # Set to true before the first build of a new MC version, so we don't do compatibility checks CHECK_COMPATIBILITY=false diff --git a/patches/minecraft/com/mojang/blaze3d/vertex/VertexFormat.java.patch b/patches/minecraft/com/mojang/blaze3d/vertex/VertexFormat.java.patch index 0df92ce437..c3e55621c2 100644 --- a/patches/minecraft/com/mojang/blaze3d/vertex/VertexFormat.java.patch +++ b/patches/minecraft/com/mojang/blaze3d/vertex/VertexFormat.java.patch @@ -1,6 +1,6 @@ --- a/com/mojang/blaze3d/vertex/VertexFormat.java +++ b/com/mojang/blaze3d/vertex/VertexFormat.java -@@ -20,7 +_,7 @@ +@@ -21,7 +_,7 @@ @OnlyIn(Dist.CLIENT) @DontObfuscate @@ -9,7 +9,7 @@ public static final int UNKNOWN_ELEMENT = -1; private static final boolean USE_STAGING_BUFFER_WORKAROUND = Util.getPlatform() == Util.OS.WINDOWS && Util.isAarch64(); @Nullable -@@ -34,6 +_,7 @@ +@@ -35,6 +_,7 @@ private GpuBuffer immediateDrawVertexBuffer; @Nullable private GpuBuffer immediateDrawIndexBuffer; @@ -17,7 +17,7 @@ VertexFormat(List p_343616_, List p_345241_, IntList p_345522_, int p_344162_) { this.elements = p_343616_; -@@ -46,6 +_,11 @@ +@@ -47,6 +_,11 @@ int j = vertexformatelement != null ? p_343616_.indexOf(vertexformatelement) : -1; this.offsetsByElement[i] = j != -1 ? p_345522_.getInt(j) : -1; } @@ -29,7 +29,7 @@ } public static VertexFormat.Builder builder() { -@@ -162,6 +_,9 @@ +@@ -169,6 +_,9 @@ ); return this.immediateDrawIndexBuffer; }