Skip to content

Commit

Permalink
Update src/main/java/com/terraformersmc/modmenu/gui/widget/ModListWid…
Browse files Browse the repository at this point in the history
…get.java

Co-authored-by: haykam821 <[email protected]>
  • Loading branch information
sakura-ryoko and haykam821 authored Jun 2, 2024
1 parent 42742db commit e5ed71e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ protected void renderList(DrawContext DrawContext, int mouseX, int mouseY, float
buffer.vertex(matrix, selectionRight, entryTop + entryHeight + 2, 0.0F);
buffer.vertex(matrix, selectionRight, entryTop - 2, 0.0F);
buffer.vertex(matrix, entryLeft, entryTop - 2, 0.0F);
try
{
try {
builtBuffer = buffer.end();
BufferRenderer.drawWithGlobalProgram(builtBuffer);
builtBuffer.close();
} catch (Exception e) {
// Ignored
}
catch (Exception ignored) {}
RenderSystem.setShader(GameRenderer::getPositionProgram);
RenderSystem.setShaderColor(0.0F, 0.0F, 0.0F, 1.0F);
buffer = tessellator.begin(VertexFormat.DrawMode.QUADS, VertexFormats.POSITION);
Expand Down

0 comments on commit e5ed71e

Please sign in to comment.