Skip to content

Commit 2435fa7

Browse files
committed
fix
1 parent b5aca21 commit 2435fa7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/cleanroommc/modularui/drawable/UITexture.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import com.cleanroommc.modularui.screen.viewport.GuiContext;
77
import com.cleanroommc.modularui.theme.WidgetTheme;
88
import com.cleanroommc.modularui.utils.Color;
9-
import com.cleanroommc.modularui.utils.GlStateManager;
109
import com.cleanroommc.modularui.utils.Interpolations;
1110
import com.cleanroommc.modularui.utils.JsonHelper;
1211
import com.cleanroommc.modularui.widget.sizer.Area;
@@ -157,7 +156,6 @@ public void draw(GuiContext context, int x, int y, int width, int height, Widget
157156

158157
public void draw(float x, float y, float width, float height) {
159158
GuiDraw.drawTexture(this.location, x, y, x + width, y + height, this.u0, this.v0, this.u1, this.v1, this.nonOpaque);
160-
GlStateManager.disableBlend();
161159
}
162160

163161
@Deprecated
@@ -172,7 +170,6 @@ public void drawSubArea(float x, float y, float width, float height, float uStar
172170
Color.setGlColorOpaque(Color.WHITE.main);
173171
}
174172
GuiDraw.drawTexture(this.location, x, y, x + width, y + height, lerpU(uStart), lerpV(vStart), lerpU(uEnd), lerpV(vEnd), this.nonOpaque);
175-
GlStateManager.disableBlend();
176173
}
177174

178175
@Override

0 commit comments

Comments
 (0)