Skip to content

Commit

Permalink
Make icon its own texture (#1999)
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMonoxide committed Feb 1, 2025
1 parent 1e2bed6 commit 89b5077
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added gfx/textures/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/java/legend/core/GameEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ private static void loadGfx() {

RENDERER.usePs1Gpu = false;
RENDERER.setRenderCallback(GameEngine::renderIntro);
RENDERER.window().setWindowIcon(Path.of("gfx/textures/loading.png"));
RENDERER.window().setWindowIcon(Path.of("gfx/textures/icon.png"));

onKeyPress = RENDERER.events().onKeyPress((window, key, scancode, mods) -> skip());
onMouseRelease = RENDERER.events().onMouseRelease((window, x, y, button, mods) -> skip());
Expand Down

0 comments on commit 89b5077

Please sign in to comment.