mesa: Use glVertexAttrib*NV functions for fixed function attribs.
authorMathias Fröhlich <mathias.froehlich@web.de>
Wed, 3 Apr 2019 10:47:36 +0000 (12:47 +0200)
committerMathias Fröhlich <mathias.froehlich@web.de>
Sat, 4 May 2019 05:39:42 +0000 (07:39 +0200)
commit7a5dea63204300e6d996bdc4ebdd11277faa48a3
tree6fde9086bfc530cb847055bd73c5b360ab0db9d5
parent60076a6171931b92dcdda53c2962666cc27fda2d
mesa: Use glVertexAttrib*NV functions for fixed function attribs.

In the glArrayElement implementation, use glVertexAttrib*NV type
functions for fixed function attributes. We do the same in display
execution when the list is replayed using immediate mode attribute
functions. Using a single set of function pointers enables to
use a unified loop to walk the vertex array attributes.

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