Skip to content
Snippets Groups Projects
Commit a345fe2a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix USE_CURRENT_VIEWPORT
parent e68221c1
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
* GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2003 Christophe Geuzaine
*
* $Id: gl2ps.cpp,v 1.67 2003-07-03 18:59:52 geuzaine Exp $
* $Id: gl2ps.cpp,v 1.68 2003-07-04 14:12:28 geuzaine Exp $
*
* E-mail: geuz@geuz.org
* URL: http://www.geuz.org/gl2ps/
......@@ -2000,7 +2000,7 @@ GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer,
gl2ps->options = options;
if(gl2ps->options & GL2PS_USE_CURRENT_VIEWPORT){
glGetIntegerv(GL_VIEWPORT, viewport);
glGetIntegerv(GL_VIEWPORT, gl2ps->viewport);
}
else{
for(i = 0; i < 4; i++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment