| 43 | } |
| 44 | |
| 45 | void FreeTempPoint(g3Point *p) { |
| 46 | if (free_point_num < 1) { |
| 47 | mprintf(1, "clipper: no temp points to free\n"); |
| 48 | free_point_num = 1; |
| 49 | Int3(); |
| 50 | } |
| 51 | ASSERT(p->p3_flags & PF_TEMP_POINT); |
| 52 | |
| 53 | free_points[--free_point_num] = p; |
| 54 | |
| 55 | p->p3_flags &= ~PF_TEMP_POINT; |
| 56 | } |
| 57 | |
| 58 | // Verify that all the temp points are free, and free them it they are not. |
| 59 | #ifdef _DEBUG |
no outgoing calls
no test coverage detected