diff --git a/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementation/GlfwWindow.java b/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementation/GlfwWindow.java index bcd61e2e..75a37b59 100644 --- a/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementation/GlfwWindow.java +++ b/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementation/GlfwWindow.java @@ -363,7 +363,7 @@ public final class GlfwWindow extends Window { if (isTerminated()) return; - super.setIcons(icons); + this.icons = icons; if (icons != null) try (GLFWImage.Buffer iconsBuffer = GLFWImage.malloc(icons.length)) { getLogger().diag("GlfwWindow#setIcons ยป icons.length = " + icons.length); diff --git a/windowing/src/main/java/de/staropensource/engine/windowing/implementable/Window.java b/windowing/src/main/java/de/staropensource/engine/windowing/implementable/Window.java index 7d4fd3a1..26ebde90 100644 --- a/windowing/src/main/java/de/staropensource/engine/windowing/implementable/Window.java +++ b/windowing/src/main/java/de/staropensource/engine/windowing/implementable/Window.java @@ -222,7 +222,7 @@ public abstract class Window implements AutoCloseable { * @since v1-alpha6 */ @Setter - private @NotNull Path @Nullable [] icons; + protected @NotNull Path @Nullable [] icons; /** * Contains the size of this window.