diff options
author | lecoanet | 2004-03-23 14:53:46 +0000 |
---|---|---|
committer | lecoanet | 2004-03-23 14:53:46 +0000 |
commit | bfcdb3b51ea88028b63f3f2d9577659e4119d20a (patch) | |
tree | 60a2f38988e2719012fbe719cbd19db7d1101f14 /generic/Rectangle.c | |
parent | c15cc9537d6c0d2bf6d5417bd96930cae4381162 (diff) | |
download | tkzinc-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/Rectangle.c')
-rw-r--r-- | generic/Rectangle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/Rectangle.c b/generic/Rectangle.c index 51fe10d..500473c 100644 --- a/generic/Rectangle.c +++ b/generic/Rectangle.c @@ -504,7 +504,7 @@ Draw(ZnItem item) if (rect->tile != ZnUnspecifiedImage) { if (!ZnImageIsBitmap(rect->tile)) { /* Fill tiled */ values.fill_style = FillTiled; - values.tile = ZnImagePixmap(rect->tile); + values.tile = ZnImagePixmap(rect->tile, wi->win); if (ISSET(rect->flags, ALIGNED_BIT)) { values.ts_x_origin = (int) r.x; values.ts_y_origin = (int) r.y; @@ -518,7 +518,7 @@ Draw(ZnItem item) } else { values.fill_style = FillStippled; - values.stipple = ZnImagePixmap(rect->tile); + values.stipple = ZnImagePixmap(rect->tile, wi->win); if (ISSET(rect->flags, ALIGNED_BIT)) { values.ts_x_origin = (int) r.x; values.ts_y_origin = (int) r.y; @@ -579,7 +579,7 @@ Draw(ZnItem item) } else { values.fill_style = FillStippled; - values.stipple = ZnImagePixmap(rect->line_pattern); + values.stipple = ZnImagePixmap(rect->line_pattern, wi->win); gc_mask |= GCStipple; XChangeGC(wi->dpy, wi->gc, gc_mask, &values); } |