mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 03:40:10 +01:00
r128: Silence uninitialized variable warnings in r128_tris.c.
This commit is contained in:
parent
7430c3ac35
commit
ca02109e91
1 changed files with 2 additions and 1 deletions
|
|
@ -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); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue