diff options
author | Tim Angus <tim@ngus.net> | 2006-01-27 19:50:12 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-01-27 19:50:12 +0000 |
commit | dfff1857ce0517dec0c67c59eed9bab0a4d55e25 (patch) | |
tree | 10d227310c61eb1fc6e0cddbd8bb9ec847918cb6 /src/qcommon | |
parent | c106cea01560ffc77938d6cb3d9239250828c8d5 (diff) |
* Merged ioq3-r529
- Quick fullscreen changes
- Fix to that server crashing memory leak
- Some FreeBSD changes
* Default for r_znear changed
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/cm_patch.c | 1 | ||||
-rw-r--r-- | src/qcommon/cm_polylib.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/qcommon/cm_patch.c b/src/qcommon/cm_patch.c index fa0ff55a..194b806c 100644 --- a/src/qcommon/cm_patch.c +++ b/src/qcommon/cm_patch.c @@ -768,6 +768,7 @@ static qboolean CM_ValidateFacet( facet_t *facet ) { w = BaseWindingForPlane( plane, plane[3] ); for ( j = 0 ; j < facet->numBorders && w ; j++ ) { if ( facet->borderPlanes[j] == -1 ) { + FreeWinding( w ); return qfalse; } Vector4Copy( planes[ facet->borderPlanes[j] ].plane, plane ); diff --git a/src/qcommon/cm_polylib.c b/src/qcommon/cm_polylib.c index acd8f613..1a937544 100644 --- a/src/qcommon/cm_polylib.c +++ b/src/qcommon/cm_polylib.c @@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // counters are only bumped when running single threaded, -// because they are an awefull coherence problem +// because they are an awful coherence problem int c_active_windings; int c_peak_windings; int c_winding_allocs; |