mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-03 13:30:34 +07:00
Upgraded video test tool to use lwjgl3
This commit is contained in:
parent
9ebf326ac1
commit
7f43ca5e86
@ -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"
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user