From bfcdb3b51ea88028b63f3f2d9577659e4119d20a Mon Sep 17 00:00:00 2001 From: lecoanet Date: Tue, 23 Mar 2004 14:53:46 +0000 Subject: Changes related to OpenGL context handling (only one context per display) and patches to avoid using widget structure in image cache */ --- generic/Text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generic/Text.c') 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 { -- cgit v1.1