Skip to content

Commit

Permalink
Merge pull request #1 from Electro593/1.20-color-picker
Browse files Browse the repository at this point in the history
Fix color wheel
  • Loading branch information
Noaaan authored Nov 20, 2023
2 parents 85d8ded + a12b668 commit ae7bd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/dafuqs/spectrum/helpers/RenderHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void fillTriangle(MatrixStack matrices, int p1x, int p1y, int p2x,
builder.vertex(matrix, p1x, p1y, 0F).color(red, green, blue, alpha).next();
builder.vertex(matrix, p2x, p2y, 0F).color(red, green, blue, alpha).next();
builder.vertex(matrix, p3x, p3y, 0F).color(red, green, blue, alpha).next();
BufferRenderer.draw(builder.end());
BufferRenderer.drawWithGlobalProgram(builder.end());
RenderSystem.disableBlend();
}

Expand All @@ -54,4 +54,4 @@ public static void fillQuad(MatrixStack matrices, int x, int y, int height, int
RenderSystem.disableBlend();
}

}
}

0 comments on commit ae7bd78

Please sign in to comment.