Experimental SDL3 backend
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user