diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-16 12:40:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-16 12:40:23 +0300 |
commit | 6b3c1192e1711423bcd509a85b7474c08000c6d9 (patch) | |
tree | 34d10e37379b3973827cbccd31fb2ff95948d094 /source/blender/windowmanager | |
parent | b0b2546d4a3a308da19d218d919915aac4834e59 (diff) |
Fix error in app-template image size check
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
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; |