mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 11:58:10 +02:00
mach64: Silence uninitialized variable warnings.
This commit is contained in:
parent
6c9870b54c
commit
b18fa9f448
1 changed files with 2 additions and 1 deletions
|
|
@ -1297,7 +1297,8 @@ do { \
|
|||
|
||||
#define LOCAL_VARS(n) \
|
||||
mach64ContextPtr mmesa = MACH64_CONTEXT(ctx); \
|
||||
GLuint color[n], spec[n]; \
|
||||
GLuint color[n] = { 0 }; \
|
||||
GLuint spec[n] = { 0 }; \
|
||||
GLuint vertex_size = mmesa->vertex_size; \
|
||||
const GLuint xyoffset = 9; \
|
||||
const GLuint coloroffset = 8; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue