mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 10:55:12 +00:00
Flash viewer - skip frames when not on time => faster playback, display frameLoss in debugMode
Stub for HW accelerated Graphics2D (VolatileImage, opengl, etc.)
This commit is contained in:
@@ -1484,6 +1484,16 @@ public class Main {
|
||||
System.err.println("Error: Your system does not support Graphic User Interface");
|
||||
exit();
|
||||
}
|
||||
|
||||
System.setProperty("sun.java2d.d3d", "false");
|
||||
System.setProperty("sun.java2d.noddraw", "true");
|
||||
|
||||
if (Configuration.hwAcceleratedGraphics.get()) {
|
||||
System.setProperty("sun.java2d.opengl", Configuration._debugMode.get() ? "True" : "true");
|
||||
} else {
|
||||
System.setProperty("sun.java2d.opengl", "false");
|
||||
}
|
||||
|
||||
if (Configuration.useRibbonInterface.get()) {
|
||||
View.setLookAndFeel();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user