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/Track.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/Track.c')
-rw-r--r-- | generic/Track.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/Track.c b/generic/Track.c index 77366cf..7de1248 100644 --- a/generic/Track.c +++ b/generic/Track.c @@ -1106,7 +1106,7 @@ Draw(ZnItem item) else { /* Fill stippled */ values.fill_style = FillStippled; - values.stipple = ZnImagePixmap(track->marker_fill_pattern); + values.stipple = ZnImagePixmap(track->marker_fill_pattern, wi->win); XChangeGC(wi->dpy, wi->gc, GCFillStyle | GCStipple | GCLineWidth | GCForeground, &values); } @@ -1273,7 +1273,7 @@ Draw(ZnItem item) y = ((int) track->dev.y) - (height+1)/2; values.foreground = ZnGetGradientPixel(track->symbol_color, 0.0); values.fill_style = FillStippled; - values.stipple = ZnImagePixmap(track->symbol); + values.stipple = ZnImagePixmap(track->symbol, wi->win); values.ts_x_origin = x; values.ts_y_origin = y; XChangeGC(wi->dpy, wi->gc, |