Duke4.net Forums: Cllassic renderer with Windows DPI scaling fix - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cllassic renderer with Windows DPI scaling fix

User is online   Phredreeke 

#1

I posted this on the BuildGDX Discord last night but I'll repeat it here.

If you use the classic renderer on Windows (I don't know about other operating systems) with DPI display scaling on then BuildGDX would zoom in on the upper left section of the screen.

The solution is make a BAT file with the following

start JRE\bin\javaw.exe -Dsun.java2d.uiScale=1 -jar BuildGDX.jar

BuildGDX will now ignore DPI scaling and draw the classic renderer at the correct size. (this assumes you're using the version of GDX with the included JRE, else you'd probably have to point it to your system Java install instead)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options