diff options
author | lecoanet | 2003-01-14 10:55:49 +0000 |
---|---|---|
committer | lecoanet | 2003-01-14 10:55:49 +0000 |
commit | b154cf6b71772b10c83ef89c304868dde30f8211 (patch) | |
tree | 83a894e24adcb708b56c2fde142f9deccb6edc15 /generic/Draw.c | |
parent | e0562b5a186612c3443c01527def0e6f30583bfb (diff) | |
download | tkzinc-b154cf6b71772b10c83ef89c304868dde30f8211.zip tkzinc-b154cf6b71772b10c83ef89c304868dde30f8211.tar.gz tkzinc-b154cf6b71772b10c83ef89c304868dde30f8211.tar.bz2 tkzinc-b154cf6b71772b10c83ef89c304868dde30f8211.tar.xz |
Suppression d'une modif pour test qui provoquait un d�faut de
remplissage du gradient.
Diffstat (limited to 'generic/Draw.c')
-rw-r--r-- | generic/Draw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/Draw.c b/generic/Draw.c index 9a5fa87..f033e49 100644 --- a/generic/Draw.c +++ b/generic/Draw.c @@ -1409,7 +1409,7 @@ ZnComputeRadialGradient(WidgetInfo *wi, /* * Find the max distance from the focal point. */ - if (1/*oval*/) { + if (oval) { /* * radius.x and radius.y are the shape radiuses. * ff is the distance from the bbox center to @@ -1802,8 +1802,7 @@ ZnRenderGlyph(ZnTexFontInfo *tfi, { ZnTexGVI *tgvi; - tgvi = ZnTexFontGVI(tfi, c); - + tgvi = ZnTexFontGVI(tfi, c); glBegin(GL_QUADS); glTexCoord2fv(tgvi->t0); glVertex2sv(tgvi->v0); |