r300: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee 2010-02-14 00:56:57 -08:00
parent 4f131356cc
commit 3a299071d4

View file

@ -332,7 +332,7 @@ static void r300TranslateAttrib(GLcontext *ctx, GLuint attr, int count, const st
{
r300ContextPtr r300 = R300_CONTEXT(ctx);
struct r300_vertex_buffer *vbuf = &r300->vbuf;
struct vertex_attribute r300_attr;
struct vertex_attribute r300_attr = { 0 };
GLenum type;
GLuint stride;