mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
1.21.8 - Intel Graphic Fixes
This commit is contained in:
2 files changed
+7
-7
No files matched your search
+3
-3
@@ -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
|
||||
|
||||
@@ -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<VertexFormatElement> p_343616_, List<String> 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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user