projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium/draw: initial code to properly support llvm in the draw module
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
mach64
/
mach64_tris.c
diff --git
a/src/mesa/drivers/dri/mach64/mach64_tris.c
b/src/mesa/drivers/dri/mach64/mach64_tris.c
index 6fb4c5bd65e2186f9d6211245a2581df981211ee..c2a0adfef02e0a25d6df2d53a48ea8e2dcbb34b5 100644
(file)
--- a/
src/mesa/drivers/dri/mach64/mach64_tris.c
+++ b/
src/mesa/drivers/dri/mach64/mach64_tris.c
@@
-29,10
+29,10
@@
* José Fonseca <j_r_fonseca@yahoo.co.uk>
*/
* José Fonseca <j_r_fonseca@yahoo.co.uk>
*/
-#include "glheader.h"
-#include "mtypes.h"
-#include "colormac.h"
-#include "macros.h"
+#include "
main/
glheader.h"
+#include "m
ain/m
types.h"
+#include "
main/
colormac.h"
+#include "ma
in/ma
cros.h"
#include "swrast/swrast.h"
#include "swrast_setup/swrast_setup.h"
#include "swrast/swrast.h"
#include "swrast_setup/swrast_setup.h"
@@
-1297,7
+1297,8
@@
do { \
#define LOCAL_VARS(n) \
mach64ContextPtr mmesa = MACH64_CONTEXT(ctx); \
#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; \
GLuint vertex_size = mmesa->vertex_size; \
const GLuint xyoffset = 9; \
const GLuint coloroffset = 8; \