From 1a752b32391da35190d56766fd89a8ab9f57da4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Mon, 20 Oct 2014 09:58:59 +0300 Subject: [PATCH] OS X|Client: Always show pixel density in Video Settings --- doomsday/client/src/ui/dialogs/videosettingsdialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doomsday/client/src/ui/dialogs/videosettingsdialog.cpp b/doomsday/client/src/ui/dialogs/videosettingsdialog.cpp index 746be55a91..79bca70535 100644 --- a/doomsday/client/src/ui/dialogs/videosettingsdialog.cpp +++ b/doomsday/client/src/ui/dialogs/videosettingsdialog.cpp @@ -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);