Provide initial values for some variables.

This commit is contained in:
Keith Whitwell 2005-05-25 13:35:21 +00:00
parent 741b980433
commit 39e14d2cff
1 changed files with 4 additions and 4 deletions

View File

@ -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);