diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-09-27 14:49:45 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-09-27 14:49:45 +0300 |
commit | f719ee5f3243d8a0e436181a2b23a2e35731ae67 (patch) | |
tree | 857f16f432785c32aed3983b0382f422fde1dbd1 /src | |
parent | a34752e2ee0e15a7a4feeae199f2e05998832450 (diff) | |
download | LibGui-f719ee5f3243d8a0e436181a2b23a2e35731ae67.tar.gz LibGui-f719ee5f3243d8a0e436181a2b23a2e35731ae67.tar.bz2 LibGui-f719ee5f3243d8a0e436181a2b23a2e35731ae67.zip |
ScreenDrawing: Fix shader color escaping from texturedRect
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java b/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java index 7431597..9682766 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java @@ -194,6 +194,7 @@ public class ScreenDrawing { buffer.vertex(model, x, y, 0).texture(u1, v1).next(); BufferRenderer.drawWithGlobalProgram(buffer.end()); RenderSystem.disableBlend(); + RenderSystem.setShaderColor(1, 1, 1, 1); } /** |