From 7f43ca5e862af20b2f186d0778162189c2e97665 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Tue, 24 Dec 2024 11:59:55 -0800 Subject: [PATCH] Upgraded video test tool to use lwjgl3 --- tools/video-player/build.gradle | 4 ++-- .../src/main/java/com/riiablo/video/VideoPlayerTool.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/video-player/build.gradle b/tools/video-player/build.gradle index 2bf4518e..63e66a6c 100644 --- a/tools/video-player/build.gradle +++ b/tools/video-player/build.gradle @@ -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" } diff --git a/tools/video-player/src/main/java/com/riiablo/video/VideoPlayerTool.java b/tools/video-player/src/main/java/com/riiablo/video/VideoPlayerTool.java index 749b25d2..573b78a3 100644 --- a/tools/video-player/src/main/java/com/riiablo/video/VideoPlayerTool.java +++ b/tools/video-player/src/main/java/com/riiablo/video/VideoPlayerTool.java @@ -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();