Upgraded video test tool to use lwjgl3

This commit is contained in:
Collin Smith 2024-12-24 11:59:55 -08:00
parent 9ebf326ac1
commit 7f43ca5e86
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
dependencies { implementation project(':tools:backends:backend-lwjgl') }
dependencies { implementation project(':tools:backends:backend-lwjgl3') }
description = 'Play videos from MPQ archives.'
application.mainClass = 'com.riiablo.video.VideoPlayerTool'
dependencies {
implementation "com.badlogicgames.gdx-video:gdx-video:1.3.2-SNAPSHOT"
implementation "com.badlogicgames.gdx-video:gdx-video-lwjgl:1.3.2-SNAPSHOT"
implementation "com.badlogicgames.gdx-video:gdx-video-lwjgl3:1.3.2-SNAPSHOT"
}

View File

@ -20,7 +20,7 @@ import com.riiablo.logger.Level;
import com.riiablo.logger.LogManager;
import com.riiablo.logger.Logger;
import com.riiablo.mpq.MPQFileHandleResolver;
import com.riiablo.tool.LwjglTool;
import com.riiablo.tool.Lwjgl3Tool;
import com.riiablo.tool.Tool;
import com.riiablo.util.InstallationFinder;
@ -29,7 +29,7 @@ public class VideoPlayerTool extends Tool {
public static void main(String[] args) {
LogManager.setLevel(VideoPlayerTool.class.getCanonicalName(), Level.TRACE);
LwjglTool.create(VideoPlayerTool.class, "video-player", args)
Lwjgl3Tool.create(VideoPlayerTool.class, "video-player", args)
.title("Video Player Tool")
.size(640, 480, false) // default video size
.start();