Skip to content

Commit

Permalink
Fix OpenGL issue with rendering item list next to modded GUIs
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Jan 14, 2016
1 parent 570c53f commit ad9304d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main/java/mezz/jei/gui/ItemListOverlay.java
Expand Up @@ -217,6 +217,8 @@ public void drawScreen(@Nonnull Minecraft minecraft, int mouseX, int mouseY) {
} else {
hovered = guiItemStacks.render(hovered, minecraft, mouseOver, mouseX, mouseY);
}

GlStateManager.enableAlpha();
}

private boolean shouldShowDeleteItemTooltip(Minecraft minecraft) {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/mezz/jei/gui/RecipesGui.java
Expand Up @@ -371,7 +371,6 @@ public void drawBackground() {
this.zLevel = -100;
this.drawDefaultBackground();

GlStateManager.enableAlpha();
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
bindTexture(backgroundTexture);
int x = (width - xSize) / 2;
Expand Down

0 comments on commit ad9304d

Please sign in to comment.