diff options
Diffstat (limited to 'draw/meshdraw.c')
-rw-r--r-- | draw/meshdraw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/draw/meshdraw.c b/draw/meshdraw.c index b3d35ba7..076b2c92 100644 --- a/draw/meshdraw.c +++ b/draw/meshdraw.c @@ -350,16 +350,12 @@ fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_colorspace *destcs, fz_pixmap p.x = shade->mesh[(i * 3 + k) * n + 0]; p.y = shade->mesh[(i * 3 + k) * n + 1]; p = fz_transformpoint(ctm, p); - if (isnan(p.y) || isnan(p.x)) // How is this happening? - goto baddata; tri[k][0] = p.x; tri[k][1] = p.y; for (j = 2; j < n; j++) tri[k][j] = shade->mesh[( i * 3 + k) * n + j] * 255; } fz_drawtriangle(temp, tri[0], tri[1], tri[2], n); -baddata: - ; } if (shade->usefunction) |