Skip to content

Commit

Permalink
Update to a fixed, different iconizer version.
Browse files Browse the repository at this point in the history
This also loads the native libraries needed by Pixmap in the Sample main method.
  • Loading branch information
tommyettinger committed Apr 18, 2024
1 parent aa4d726 commit 2ad8b0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ visUiVersion=1.5.3
commonsExecVersion=1.3
lwjgl3Version=3.3.3
nfdVersion=3.3.1
iconizerVersion=0.0.3
iconizerVersion=0.1.0
2 changes: 2 additions & 0 deletions src/main/kotlin/gdx/liftoff/Sample.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.badlogic.gdx.Gdx
import com.badlogic.gdx.Version
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Files
import com.badlogic.gdx.files.FileHandle
import com.badlogic.gdx.utils.GdxNativesLoader
import com.github.czyzby.autumn.fcs.scanner.DesktopClassScanner
import gdx.liftoff.actions.GlobalActionContainer
import gdx.liftoff.config.Configuration
Expand Down Expand Up @@ -214,6 +215,7 @@ fun getPreset(arguments: Array<String>): Preset = when {
}

fun main(arguments: Array<String>) {
GdxNativesLoader.load()
Gdx.files = Lwjgl3Files()

val preset = getPreset(arguments)
Expand Down

0 comments on commit 2ad8b0a

Please sign in to comment.