certain object was already filled, but i never set them to true...
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1146
7f0cb862-5218-0410-a997-
914c9d46530a
static void fghCube( GLdouble dSize, GLboolean useWireMode )
{
if (!cubeCached)
+ {
fghCubeGenerate();
+ cubeCached = TRUE;
+ }
if (dSize!=1.)
{
static void fghTetrahedron( GLboolean useWireMode )
{
if (!tetrCached)
+ {
fghTetrahedronGenerate();
+ tetrCached = TRUE;
+ }
fghDrawGeometry(GL_TRIANGLES,tetr_verts,tetr_norms,TETR_VERT_PER_TETR,useWireMode);
}