mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-14 10:50:58 -07:00
Experimental SDL3 backend
This commit is contained in:
parent
2ad41a9047
commit
fd6a98f9db
2 changed files with 3 additions and 3 deletions
|
|
@ -254,7 +254,7 @@ project(":desktop"){
|
|||
|
||||
implementation "com.github.Anuken:steamworks4j:$steamworksVersion"
|
||||
|
||||
implementation arcModule("backends:backend-sdl")
|
||||
implementation arcModule("backends:backend-sdl3")
|
||||
annotationProcessor 'com.github.Anuken:jabel:0.9.0'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ package mindustry.desktop;
|
|||
import arc.*;
|
||||
import arc.Files.*;
|
||||
import arc.backend.sdl.*;
|
||||
import arc.backend.sdl.jni.*;
|
||||
import arc.discord.*;
|
||||
import arc.discord.DiscordRPC.*;
|
||||
import arc.files.*;
|
||||
|
|
@ -25,6 +24,7 @@ import mindustry.net.*;
|
|||
import mindustry.net.Net.*;
|
||||
import mindustry.service.*;
|
||||
import mindustry.type.*;
|
||||
import org.lwjgl.sdl.*;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
|
|
@ -414,6 +414,6 @@ public class DesktopLauncher extends ClientLauncher{
|
|||
}
|
||||
|
||||
private static void message(String message){
|
||||
SDL.SDL_ShowSimpleMessageBox(SDL.SDL_MESSAGEBOX_ERROR, "oh no", message);
|
||||
SDLMessageBox.SDL_ShowSimpleMessageBox(SDLMessageBox.SDL_MESSAGEBOX_ERROR, "oh no", message, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue