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

fix small occlusion culling bug
parent de552148
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2003 Christophe Geuzaine * Copyright (C) 1999-2003 Christophe Geuzaine
* *
* $Id: gl2ps.cpp,v 1.60 2003-01-30 18:22:37 geuzaine Exp $ * $Id: gl2ps.cpp,v 1.61 2003-03-01 22:34:18 geuzaine Exp $
* *
* E-mail: geuz@geuz.org * E-mail: geuz@geuz.org
* URL: http://www.geuz.org/gl2ps/ * URL: http://www.geuz.org/gl2ps/
...@@ -734,7 +734,7 @@ void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim, ...@@ -734,7 +734,7 @@ void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim,
} }
else{ else{
gl2psFree(cur->front); gl2psFree(cur->front);
cur = head = NULL; cur->front = NULL;
} }
break; break;
case GL2PS_POINT_BACK : case GL2PS_POINT_BACK :
...@@ -765,7 +765,7 @@ void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim, ...@@ -765,7 +765,7 @@ void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim,
} }
else{ else{
gl2psFree(cur->front); gl2psFree(cur->front);
cur = head = NULL; cur->front = NULL;
} }
break; break;
default: default:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2003 Christophe Geuzaine * Copyright (C) 1999-2003 Christophe Geuzaine
* *
* $Id: gl2ps.h,v 1.35 2003-01-30 18:22:38 geuzaine Exp $ * $Id: gl2ps.h,v 1.36 2003-03-01 22:34:18 geuzaine Exp $
* *
* E-mail: geuz@geuz.org * E-mail: geuz@geuz.org
* URL: http://www.geuz.org/gl2ps/ * URL: http://www.geuz.org/gl2ps/
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#endif #endif
#define GL2PS_VERSION 0.73 #define GL2PS_VERSION 0.74
#define GL2PS_NONE 0 #define GL2PS_NONE 0
/* Output file format */ /* Output file format */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment