small remedy for KDE Plasma

This commit is contained in:
minjaesong
2019-12-23 04:48:30 +09:00
parent 95e47066ca
commit b5482ed07c
2 changed files with 3 additions and 2 deletions

View File

@@ -320,7 +320,8 @@ public class AppLoader implements ApplicationListener {
appConfig.backgroundFPS = getConfigInt("displayfps");
appConfig.foregroundFPS = getConfigInt("displayfps");
appConfig.title = GAME_NAME;
appConfig.forceExit = false;
appConfig.forceExit = true; // it seems KDE 5 likes this one better...
// (Plasma freezes upon app exit. with forceExit = true, it's only frozen for a minute; with forceExit = false, it's indefinite)
appConfig.samples = 4; // force the AA on, if the graphics driver didn't do already
// load app icon

View File

@@ -153,7 +153,7 @@ internal object WeatherMixer : RNGConsumer {
val parallaxTop = (parallaxMidpt - (parallaxSize / 2f)).coerceIn(0f, 1f)
val parallaxBottom = (parallaxMidpt + (parallaxSize / 2f)).coerceIn(0f, 1f)
println("$parallaxZeroPos, $parallax | $parallaxTop - $parallaxMidpt - $parallaxBottom | $parallaxDomainSize")
//println("$parallaxZeroPos, $parallax | $parallaxTop - $parallaxMidpt - $parallaxBottom | $parallaxDomainSize")
// draw skybox to provided graphics instance
val colTopmost = getGradientColour(world, skyboxColourMap, 0, timeNow).toGdxColor()