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

Fixed problem with GLU in recent cygwin distributions
parent 9309b702
No related branches found
No related tags found
No related merge requests found
// $Id: Geom.cpp,v 1.50 2004-02-28 00:48:49 geuzaine Exp $
// $Id: Geom.cpp,v 1.51 2004-03-04 18:05:43 geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
......@@ -506,8 +506,10 @@ void Draw_NonPlane_Surface(Surface * s)
if(CTX.geom.light) glEnable(GL_LIGHTING);
GLUnurbsObj *nurb;
nurb = gluNewNurbsRenderer();
#if defined(GLU_VERSION_1_3)
gluNurbsProperty(nurb, (GLenum) GLU_SAMPLING_TOLERANCE, 50.0);
gluNurbsProperty(nurb, (GLenum) GLU_DISPLAY_MODE, GLU_FILL);
#endif
gluBeginSurface(nurb);
gluNurbsSurface(nurb, s->Nu + s->OrderU + 1, s->ku,
s->Nv + s->OrderV + 1, s->kv, 4, 4 * s->Nu, s->cp,
......
$Id: VERSIONS,v 1.186 2004-02-28 00:48:57 geuzaine Exp $
$Id: VERSIONS,v 1.187 2004-03-04 18:05:43 geuzaine Exp $
New since 1.51: small bug fixes
New in 1.51: initial support for visualizing mesh partitions;
integrated version 2.0 of the MSH mesh file format; new option to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment