r128: Silence uninitialized variable warnings in r128_tris.c.

This commit is contained in:
Vinson Lee 2009-12-15 13:12:12 -08:00
parent 7430c3ac35
commit ca02109e91

View file

@ -216,7 +216,8 @@ do { \
#define LOCAL_VARS(n) \
r128ContextPtr rmesa = R128_CONTEXT(ctx); \
GLuint color[n], spec[n]; \
GLuint color[n] = { 0 }; \
GLuint spec[n] = { 0 }; \
GLuint coloroffset = rmesa->coloroffset; \
GLuint specoffset = rmesa->specoffset; \
GLboolean havespec = (rmesa->specoffset != 0); \