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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-16 12:40:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-16 12:40:23 +0300
commit6b3c1192e1711423bcd509a85b7474c08000c6d9 (patch)
tree34d10e37379b3973827cbccd31fb2ff95948d094 /source
parentb0b2546d4a3a308da19d218d919915aac4834e59 (diff)
Fix error in app-template image size check
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 29e6c670c00..367a5a81098 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1600,7 +1600,7 @@ static ImBuf *wm_block_splash_image(void)
BLI_join_dirfile(splash_filepath,
sizeof(splash_filepath),
template_directory,
- (U.pixelsize == 2) ? "splash_2x.png" : "splash.png");
+ (U.dpi_fac > 1.0) ? "splash_2x.png" : "splash.png");
ibuf_template = IMB_loadiffname(splash_filepath, IB_rect, NULL);
if (ibuf_template) {
const int x_expect = ibuf->x;