Merged changes in the trunk up to revision 54110.
[blender.git] / source / blender / windowmanager / intern / wm_files.c
index 550a9f83cff215b0ba3720094600046a3a8c1ed3..2d4e4a5334a511aededa23461f42f23b94b4630d 100644 (file)
@@ -306,11 +306,6 @@ static void wm_init_userdef(bContext *C)
 
        /* update tempdir from user preferences */
        BLI_init_temporary_dir(U.tempdir);
-       
-       /* displays with larger native pixels, like Macbook. Used to scale dpi with */
-       if (G.background == FALSE)
-               U.pixelsize = GHOST_GetNativePixelSize();
-       if (U.pixelsize == 0) U.pixelsize = 1;
 
        BKE_userdef_state();
 }