aboutsummaryrefslogtreecommitdiff
path: root/generic/Text.c
diff options
context:
space:
mode:
authorlecoanet2004-03-23 14:53:46 +0000
committerlecoanet2004-03-23 14:53:46 +0000
commitbfcdb3b51ea88028b63f3f2d9577659e4119d20a (patch)
tree60a2f38988e2719012fbe719cbd19db7d1101f14 /generic/Text.c
parentc15cc9537d6c0d2bf6d5417bd96930cae4381162 (diff)
downloadtkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.zip
tkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.tar.gz
tkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.tar.bz2
tkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.tar.xz
Changes related to OpenGL context handling (only one context per display) and patches to avoid using widget structure in image cache */
Diffstat (limited to 'generic/Text.c')
-rw-r--r--generic/Text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Text.c b/generic/Text.c
index b1725cc..b544149 100644
--- a/generic/Text.c
+++ b/generic/Text.c
@@ -993,7 +993,7 @@ Draw(ZnItem item)
gc_mask = GCFont | GCForeground;
if (text->fill_pattern != ZnUnspecifiedImage) {
values.fill_style = FillStippled;
- values.stipple = ZnImagePixmap(text->fill_pattern);
+ values.stipple = ZnImagePixmap(text->fill_pattern, wi->win);
gc_mask |= GCFillStyle | GCStipple;
}
else {