In __glXPushArrayState() we weren't pushing the index field.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 May 2006 16:27:39 +0000 (16:27 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 May 2006 16:27:39 +0000 (16:27 +0000)
commit88cf5aa783fc16043b31bc4cc0744412712dc22f
tree2174e9d4c0a050053ac17c2ffe87bcc3bbb8d8c6
parentfa489dd04326fa0fcf05b078ae3700f379793f21
In __glXPushArrayState() we weren't pushing the index field.
But later, in __glXPopArrayState(), we were using that field to set
the active_texture_unit.  The value was garbage and could lead to
things blowing up.
See bug 6863.
src/glx/x11/indirect_vertex_array.c