diff --git a/images/CMakeLists.txt b/images/CMakeLists.txt index d299b28f55..913aabdc56 100644 --- a/images/CMakeLists.txt +++ b/images/CMakeLists.txt @@ -20,7 +20,7 @@ install( ) # Icon -set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/1024x1024/apps") +set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps") install( FILES "icon.png" DESTINATION "${ICON_DIR}" diff --git a/images/icon.png b/images/icon.png index eaa17de172..946402ef31 100644 Binary files a/images/icon.png and b/images/icon.png differ diff --git a/mods/src/f3/f3.cpp b/mods/src/f3/f3.cpp index ff49187ea9..44b2b3c184 100644 --- a/mods/src/f3/f3.cpp +++ b/mods/src/f3/f3.cpp @@ -74,7 +74,7 @@ static void Gui_renderDebugInfo_injection(__attribute__((unused)) Gui_renderDebu void init_f3() { if (feature_has("F3 Debug Information", server_disabled)) { overwrite_calls(Gui_renderDebugInfo, Gui_renderDebugInfo_injection); - misc_run_on_game_key_press([](__attribute__((unused)) Minecraft *minecraft, int key) { + misc_run_on_game_key_press([](__attribute__((unused)) Minecraft *minecraft, const int key) { if (key == MC_KEY_F3) { debug_info_shown = !debug_info_shown; return true;