From b500acd50548c908df5ab4e6d600e0f5e72398ff Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 21 Sep 2004 21:48:32 +0000
Subject: [PATCH] This commit was manufactured by cvs2svn to create tag
 'gl2ps_1_2_2'.

---
 gl2ps.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gl2ps.c b/gl2ps.c
index 8f72404..969346c 100644
--- a/gl2ps.c
+++ b/gl2ps.c
@@ -1,4 +1,4 @@
-/* $Id: gl2ps.c,v 1.178 2004-09-03 18:12:40 geuzaine Exp $ */
+/* $Id: gl2ps.c,v 1.177 2004-07-13 15:59:49 geuzaine Exp $ */
 /*
  * GL2PS, an OpenGL to PostScript Printing Library
  * Copyright (C) 1999-2004 Christophe Geuzaine <geuz@geuz.org>
@@ -4316,15 +4316,6 @@ GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer,
       gl2ps->viewport[i] = viewport[i];
     }
   }
-
-  if(!viewport[2] || !viewport[3]){
-    gl2psMsg(GL2PS_ERROR, "Incorrect viewport (x=%d, y=%d, width=%d, height=%d)",
-	     viewport[0], viewport[1], viewport[2], viewport[3]);
-    gl2psFree(gl2ps);
-    gl2ps = NULL;
-    return GL2PS_ERROR;
-  }
-
   gl2ps->threshold[0] = nr ? 1.0F/(GLfloat)nr : 0.032F;
   gl2ps->threshold[1] = ng ? 1.0F/(GLfloat)ng : 0.017F;
   gl2ps->threshold[2] = nb ? 1.0F/(GLfloat)nb : 0.050F;
-- 
GitLab