summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_marks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/tr_marks.c')
-rw-r--r--src/renderergl2/tr_marks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl2/tr_marks.c b/src/renderergl2/tr_marks.c
index f510b2db..bf6980e9 100644
--- a/src/renderergl2/tr_marks.c
+++ b/src/renderergl2/tr_marks.c
@@ -42,8 +42,8 @@ Out must have space for two more vertexes than in
static void R_ChopPolyBehindPlane( int numInPoints, vec3_t inPoints[MAX_VERTS_ON_POLY],
int *numOutPoints, vec3_t outPoints[MAX_VERTS_ON_POLY],
vec3_t normal, vec_t dist, vec_t epsilon) {
- float dists[MAX_VERTS_ON_POLY+4];
- int sides[MAX_VERTS_ON_POLY+4];
+ float dists[MAX_VERTS_ON_POLY+4] = { 0 };
+ int sides[MAX_VERTS_ON_POLY+4] = { 0 };
int counts[3];
float dot;
int i, j;