Fix Window#setIcons issue
This commit is contained in:
parent
37ac235662
commit
665ea05041
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue