Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2017-04-20 01:17:42 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-04-20 02:19:47 +0300
commit6c26911c3df6b02a0ee19899e71207f372b718b3 (patch)
treed33d30f221af3de6eff6abebbf46afb2aea660e9 /source/blender/editors/include/UI_interface.h
parent1873ea337c24e7a169c306a7467ce899a53eb0f8 (diff)
Fix T51248: user preferences window size not adapted to DPI.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r--source/blender/editors/include/UI_interface.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 4945406c57b..a9e94b05da4 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -217,7 +217,6 @@ enum {
/* scale fixed button widths by this to account for DPI */
#define UI_DPI_FAC ((U.pixelsize * (float)U.dpi) / 72.0f)
-#define UI_DPI_WINDOW_FAC (((float)U.dpi) / 72.0f)
/* 16 to copy ICON_DEFAULT_HEIGHT */
#define UI_DPI_ICON_SIZE ((float)16 * UI_DPI_FAC)