summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/indirect_vertex_array.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-02 23:58:27 +0000
committerBrian Paul <[email protected]>2006-11-02 23:58:27 +0000
commit83a5c2bf63ef285dea096612f4d84236e9c8d543 (patch)
treef5c9c2b4bdc0d2447d7ff8bf6bfaa30956db61d6 /src/glx/x11/indirect_vertex_array.c
parent7a28779b2e85bc346f0f3f4cda0d4f4e77d3719f (diff)
Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.
Diffstat (limited to 'src/glx/x11/indirect_vertex_array.c')
-rw-r--r--src/glx/x11/indirect_vertex_array.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/glx/x11/indirect_vertex_array.c b/src/glx/x11/indirect_vertex_array.c
index 5a5cd6697ea..429b52ae635 100644
--- a/src/glx/x11/indirect_vertex_array.c
+++ b/src/glx/x11/indirect_vertex_array.c
@@ -123,10 +123,8 @@ __glXInitVertexArrayState( __GLXcontext * gc )
struct array_state_vector * arrays;
unsigned array_count;
- unsigned texture_units = 1;
- unsigned i;
- unsigned j;
- unsigned vertex_program_attribs = 0;
+ int texture_units = 1, vertex_program_attribs = 0;
+ unsigned i, j;
GLboolean got_fog = GL_FALSE;
GLboolean got_secondary_color = GL_FALSE;