Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny-Hui committed Apr 26, 2024
1 parent d606556 commit bf2f9e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ configure(subprojects.findAll {it.name != 'rhino'}) {
}

dependencies {
annotationProcessor 'systems.manifold:manifold-preprocessor:+'
annotationProcessor 'systems.manifold:manifold-preprocessor:2023.1.33'
minecraft "com.mojang:minecraft:${minecraft_version}"
mappings parchment_version == "" ? loom.officialMojangMappings() : loom.layered() {
officialMojangMappings()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void drawImmediate(Vector3f transformedNormal) {
RenderSystem.depthMask(false);
immediateVertArray.bind();
colorMaterialProp.attrState.setNormal(transformedNormal);
colorMaterialProp.attrState.apply(immediateVertArray);
colorMaterialProp.attrState.applyGlobal();
immediateVertArray.draw();
colorVertexConsumer.clear();
MainClient.drawScheduler.shaderManager.cleanupShaderBatchState(colorMaterialProp, ShaderProp.DEFAULT);
Expand All @@ -180,7 +180,7 @@ public void drawImmediate(Vector3f transformedNormal) {
RenderSystem.depthMask(false);
immediateVertArray.bind();
textMaterialProp.attrState.setNormal(transformedNormal);
textMaterialProp.attrState.apply(immediateVertArray);
textMaterialProp.attrState.applyGlobal();
immediateVertArray.draw();
MainClient.drawScheduler.shaderManager.cleanupShaderBatchState(textMaterialProp, ShaderProp.DEFAULT);
entry.getValue().close();
Expand All @@ -195,7 +195,7 @@ public void drawImmediate(Vector3f transformedNormal) {
RenderSystem.colorMask(false, false, false, false);
immediateVertArray.bind();
depthMaterialProp.attrState.setNormal(transformedNormal);
depthMaterialProp.attrState.apply(immediateVertArray);
depthMaterialProp.attrState.applyGlobal();
immediateVertArray.draw();
depthVertexConsumer.clear();
MainClient.drawScheduler.shaderManager.cleanupShaderBatchState(depthMaterialProp, ShaderProp.DEFAULT);
Expand Down

0 comments on commit bf2f9e6

Please sign in to comment.