libgdx/libgdx — pull request #1825 by hermith (2014-05-09 22:53:29+00:00)
Title: Added posibility to override density on desktop

As suggested in issue #1823.

Example of usage: http://i.imgur.com/Xj2n3tG.png

This is very handy to emulate screen sizes on desktop, without having to use the android emulator. E.g. set the resolution to 800x480 and set overrideDensity to 252 to emulate a 3.7 inch phone display with the same resolution.