mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@284 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0a0f399ba0
commit
d2f776519e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue