Ticket #69291: patch-gdkdrawable-quartz.diff

File patch-gdkdrawable-quartz.diff, 608 bytes (added by DanielO (Daniel O'Connor), 8 months ago)
  • gdk/quartz/gdkdrawable-quartz.c

    old new  
    462462    }
    463463
    464464  /* Handle drawable and pixmap sources. */
    465   if (src_depth == 1)
    466     {
    467       /* FIXME: src depth 1 is not supported yet */
    468       g_warning ("Source with depth 1 unsupported");
    469     }
    470   else if (dest_depth != 0 && src_depth == dest_depth)
     465  if (dest_depth != 0 && src_depth == dest_depth)
    471466    {
    472467      GdkPixmapImplQuartz *pixmap_impl = GDK_PIXMAP_IMPL_QUARTZ (src_impl);
    473468      CGContextRef context = gdk_quartz_drawable_get_context (drawable, FALSE);