From 045ca00486e62c89a4da5f880f6f52016e4dd14a Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Mon, 25 Jul 2022 22:01:01 +0900 Subject: fix: stop using internal asset classes everywhere (#69) * fix: stop using internal asset classes everywhere new: add wrapper classes for NanoVG rendering and rename original Image wrapper to OneImage * I love regex Co-authored-by: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> --- .../src/main/java/cc/polyfrost/oneconfig/test/TestBasicHud_Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'versions/src') diff --git a/versions/src/main/java/cc/polyfrost/oneconfig/test/TestBasicHud_Test.java b/versions/src/main/java/cc/polyfrost/oneconfig/test/TestBasicHud_Test.java index 805937f..8dfa15a 100644 --- a/versions/src/main/java/cc/polyfrost/oneconfig/test/TestBasicHud_Test.java +++ b/versions/src/main/java/cc/polyfrost/oneconfig/test/TestBasicHud_Test.java @@ -8,7 +8,7 @@ import cc.polyfrost.oneconfig.renderer.RenderManager; public class TestBasicHud_Test extends BasicHud { @Override protected void draw(UMatrixStack matrices, float x, float y, float scale, boolean example) { - RenderManager.setupAndDraw(true, vg -> RenderManager.drawImage(vg, Images.HUE_GRADIENT, x, y, 50 * scale, 50f * scale)); + RenderManager.setupAndDraw(true, vg -> RenderManager.drawImage(vg, Images.HUE_GRADIENT.filePath, x, y, 50 * scale, 50f * scale)); } @Override -- cgit