tnl: Add support for datatype GL_FIXED in vertex arrays
authorChad Versace <chad.versace@intel.com>
Tue, 15 Feb 2011 23:30:05 +0000 (15:30 -0800)
committerChad Versace <chad@chad-versace.us>
Tue, 15 Feb 2011 23:39:22 +0000 (15:39 -0800)
commita231ac23f41a38cf9bde80bab4cb6aa8821d4895
treebda4f8f982fbfe668935c62de752d4681028cd12
parent632918d3ecd9756ad34098d28ed9eeda874d41a9
tnl: Add support for datatype GL_FIXED in vertex arrays

Before populating the vertex buffer attribute pointer (VB->AttribPtr[]),
convert vertex data in GL_FIXED format to GL_FLOAT.

Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047

NOTE: This is a candidate for the 7.9 and 7.10 branches.
src/mesa/tnl/t_draw.c