git-svn-id: https://svn.eduke32.com/eduke32@284 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
Plagman 2006-08-31 00:22:24 +00:00
parent 0a0f399ba0
commit d2f776519e

View file

@ -172,6 +172,7 @@ int polymer_buildfloor(short sectnum)
gluTessProperty(prtess, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_POSITIVE);
tempverticescount = 0;
tempvertices = NULL;
gluTessBeginPolygon(prtess, NULL);
gluTessBeginContour(prtess);
@ -195,6 +196,7 @@ int polymer_buildfloor(short sectnum)
if (tempverticescount)
{
free(tempvertices);
tempvertices = NULL;
tempverticescount = 0;
}