intel: use default array/element buffers in intel_generate_mipmap()
authorBrian Paul <brianp@vmware.com>
Thu, 24 Sep 2009 18:41:14 +0000 (12:41 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Sep 2009 18:41:14 +0000 (12:41 -0600)
commitb849c6f1b3b38a68fae32d4dea16dd7431e41b6e
treef1c3c59b35c4836e052a9b0ac901076018609a9d
parentf0339f502cf96499bc5cac8c0611f76f3fd39461
intel: use default array/element buffers in intel_generate_mipmap()

If there happened to be a bound VBO when intel_generate_mipmap() was
called we blew up because of a bad vertex array pointer.

Fixes regnumonline, bug 23859.
src/mesa/drivers/dri/intel/intel_generatemipmap.c