Resets color before drawing Eye Icon in GuiReplayOverlay | https://trello.com/c/IxHVkYQ8/
This commit is contained in:
@@ -503,8 +503,9 @@ public class GuiReplayOverlay extends Gui {
|
|||||||
if (event.type != RenderGameOverlayEvent.ElementType.ALL) return;
|
if (event.type != RenderGameOverlayEvent.ElementType.ALL) return;
|
||||||
if(ReplayMod.replaySettings.isLightingEnabled() && ReplayHandler.isInReplay()) {
|
if(ReplayMod.replaySettings.isLightingEnabled() && ReplayHandler.isInReplay()) {
|
||||||
mc.renderEngine.bindTexture(replay_gui);
|
mc.renderEngine.bindTexture(replay_gui);
|
||||||
GlStateManager.resetColor();
|
GlStateManager.color(1, 1, 1, 1);
|
||||||
GlStateManager.enableAlpha();
|
GlStateManager.enableAlpha();
|
||||||
|
GlStateManager.disableLighting();
|
||||||
Gui.drawModalRectWithCustomSizedTexture(WIDTH - 10 - 19, HEIGHT - 10 - 13,
|
Gui.drawModalRectWithCustomSizedTexture(WIDTH - 10 - 19, HEIGHT - 10 - 13,
|
||||||
90, 20, 19, 13, TEXTURE_SIZE, TEXTURE_SIZE);
|
90, 20, 19, 13, TEXTURE_SIZE, TEXTURE_SIZE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user