projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
741b980
)
Provide initial values for some variables.
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 25 May 2005 13:35:21 +0000
(13:35 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 25 May 2005 13:35:21 +0000
(13:35 +0000)
src/mesa/tnl_dd/t_dd_tritmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_tritmp.h
b/src/mesa/tnl_dd/t_dd_tritmp.h
index a822c38255e9a39735c867f2c3687ec51bd1db74..0bf32ff3443cf3242e4ea25376237a5326ca8a37 100644
(file)
--- a/
src/mesa/tnl_dd/t_dd_tritmp.h
+++ b/
src/mesa/tnl_dd/t_dd_tritmp.h
@@
-131,10
+131,10
@@
static void TAG(triangle)( GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 )
{
struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb;
VERTEX *v[3];
- GLfloat offset;
+ GLfloat offset
= 0
;
GLfloat z[3];
GLenum mode = GL_FILL;
- GLuint facing;
+ GLuint facing
= 0
;
LOCAL_VARS(3);
/* fprintf(stderr, "%s\n", __FUNCTION__); */
@@
-398,10
+398,10
@@
static void TAG(quad)( GLcontext *ctx,
{
struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb;
VERTEX *v[4];
- GLfloat offset;
+ GLfloat offset
= 0
;
GLfloat z[4];
GLenum mode = GL_FILL;
- GLuint facing;
+ GLuint facing
= 0
;
LOCAL_VARS(4);
v[0] = (VERTEX *)GET_VERTEX(e0);