Skip to content

Commit

Permalink
OS X|Client: Always show pixel density in Video Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 20, 2014
1 parent a7e6e3d commit 1a752b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doomsday/client/src/ui/dialogs/videosettingsdialog.cpp
Expand Up @@ -220,8 +220,11 @@ VideoSettingsDialog::VideoSettingsDialog(String const &name)

#ifdef DENG2_QT_5_0_OR_NEWER
// With HiDPI, allow specifying a global pixel density factor. This allows slower
// GPUs to generally compensate for the large resolution.
// GPUs to generally compensate for the large resolution. This is always shown on
// OS X because there the native video mode is not configurable.
# ifndef MACOSX
if(ClientApp::app().devicePixelRatio() > 1)
# endif
{
// Overall pixel density adjustment replaces the distinct display modes.
auto *pd = new VariableSliderWidget(App::config("render.pixelDensity"), Ranged(0, 1), .05);
Expand Down

0 comments on commit 1a752b3

Please sign in to comment.