summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2009-07-15 08:24:51 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2009-07-15 08:24:51 +0000
commitab91437a26eb1e67c890053f9667f3d50a430051 (patch)
treef0c328d6dba5473d9defca037cf163ba4f0ad5ae
parentc6293e6e5eda2403449db7e31161f0ad1eca6b03 (diff)
downloademacs-ab91437a26eb1e67c890053f9667f3d50a430051.tar.gz
(ns_maybe_dumpglyphs_background): Remove code for stippling, which actually
does tiling.
-rw-r--r--src/nsterm.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 75567de0e57..6457b88eef7 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2758,15 +2758,19 @@ ns_maybe_dumpglyphs_background (struct glyph_string *s, char force_p)
}
else
face = FACE_FROM_ID (s->f, s->first_glyph->face_id);
+#if 0
if (!face->stipple)
+#endif
[(NS_FACE_BACKGROUND (face) != 0
? ns_lookup_indexed_color (NS_FACE_BACKGROUND (face), s->f)
: FRAME_BACKGROUND_COLOR (s->f)) set];
+#if 0 /* This is tiling, not stippling. */
else
{
struct ns_display_info *dpyinfo = FRAME_NS_DISPLAY_INFO (s->f);
[[dpyinfo->bitmaps[face->stipple-1].img stippleMask] set];
}
+#endif
if (s->hl != DRAW_CURSOR)
{