Ticket #58358: gimp_gimpdisplayshell-draw_c.diff
File gimp_gimpdisplayshell-draw_c.diff, 596 bytes (added by rmottola (Riccardo), 6 years ago) |
---|
-
app/display/gimpdisplayshell-draw.c
old new 151 151 gdk_window_get_scale_factor ( 152 152 gtk_widget_get_window (gtk_widget_get_toplevel (GTK_WIDGET (shell)))); 153 153 #elif defined(GDK_WINDOWING_QUARTZ) 154 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 154 155 /* gtk2/osx retina support */ 155 156 if ([ 156 157 [NSScreen mainScreen] … … 162 163 } 163 164 } 164 165 #endif 166 #endif 165 167 166 168 scale = MIN (scale, GIMP_DISPLAY_RENDER_MAX_SCALE); 167 169 scale *= MAX (shell->scale_x, shell->scale_y);