Update Window.java

pull/7/head
hYdos 2020-02-25 07:24:39 +10:00
parent 7d565656cf
commit ffef70e1fc
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public class Window {
}
public static void setIcon(String path) {
Image icon = Image.createImage("/res/textures/" + path);
Image icon = Image.createImage(path);
GLFWImage iconImage = GLFWImage.malloc();
iconBuffer = GLFWImage.malloc(1);
iconImage.set(icon.getWidth(), icon.getHeight(), icon.getImage());