mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 06:39:56 +03:00
18 lines
534 B
Diff
18 lines
534 B
Diff
--- a/com/mojang/blaze3d/vertex/BufferBuilder.java
|
|
+++ b/com/mojang/blaze3d/vertex/BufferBuilder.java
|
|
@@ -486,4 +_,14 @@
|
|
this.f_166822_ = p_254368_;
|
|
}
|
|
}
|
|
+
|
|
+ // Forge start
|
|
+ public void putBulkData(ByteBuffer buffer) {
|
|
+ m_85722_(buffer.limit() + this.f_85658_.m_86020_());
|
|
+ this.f_85648_.position(this.f_85652_);
|
|
+ this.f_85648_.put(buffer);
|
|
+ this.f_85648_.position(0);
|
|
+ this.f_85654_ += buffer.limit() / this.f_85658_.m_86020_();
|
|
+ this.f_85652_ += buffer.limit();
|
|
+ }
|
|
}
|