mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-26 06:57:02 +01:00
Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
Conflicts: build.gradle gradle.properties src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
This commit is contained in:
commit
20e23aff8f
2 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,7 @@ fabric_version = 0.76.0+1.19.2
|
|||
# build dependency versions
|
||||
loom_version = 1.1-SNAPSHOT
|
||||
cursegradle_version = 1.4.0
|
||||
parchment_version = 2022.11.06
|
||||
parchment_version = 2022.11.27
|
||||
|
||||
use_parchment = true
|
||||
|
||||
|
|
|
@ -33,7 +33,9 @@ public class ModelUtil {
|
|||
unshadedBuffer.release();
|
||||
}
|
||||
RenderedBuffer buffer = shadedBuilder.end();
|
||||
return new ShadeSeparatedBufferedData.NativeImpl(buffer.vertexBuffer(), buffer.indexBuffer(), buffer.drawState(), unshadedStartVertex);
|
||||
ShadeSeparatedBufferedData bufferedData = new ShadeSeparatedBufferedData.NativeImpl(buffer.vertexBuffer(), buffer.indexBuffer(), buffer.drawState(), unshadedStartVertex);
|
||||
buffer.release();
|
||||
return bufferedData;
|
||||
}
|
||||
|
||||
public static ShadeSeparatedBufferedData getBufferedData(Bufferable bufferable) {
|
||||
|
|
Loading…
Reference in a new issue