pkgsrc/graphics/radiance/patches/patch-as
2005-02-17 00:38:37 +00:00

13 lines
365 B
Text

$NetBSD: patch-as,v 1.1 2005/02/17 00:38:37 jschauma Exp $
--- ./src/hd/rhd_ogl.c.orig Wed Feb 16 18:41:22 2005
+++ ./src/hd/rhd_ogl.c Wed Feb 16 18:42:11 2005
@@ -321,6 +321,8 @@
register VIEW *nv
)
{
+ double d;
+
if (nv->type != VT_PER || /* check view legality */
nv->horiz > 160. || nv->vert > 160.) {
error(COMMAND, "illegal view type/angle");