mesa: Use array object constructor.
authorMathias Fröhlich <Mathias.Froehlich@web.de>
Wed, 2 Nov 2011 18:54:26 +0000 (19:54 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 18 Apr 2012 17:51:16 +0000 (19:51 +0200)
commit86f53e6d6bd07e2bc3ffcadeb9a4418fbae06e0b
tree459bd77668fb8a241d55a293ca97f367aec24f31
parent8ec18dfc1af43ef1f74c3f28c87e11da815f1958
mesa: Use array object constructor.

This change uses the array object factory for gl_array_objects. This
prevents crashes when deriving from gl_array_object.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
src/mesa/main/context.c
src/mesa/main/varray.c