vbo: Fix GL_PRIMITIVE_RESTART_FIXED_INDEX in display list compiles.
authorMathias Fröhlich <mathias.froehlich@web.de>
Fri, 1 Mar 2019 08:27:54 +0000 (09:27 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Fri, 15 Mar 2019 05:06:42 +0000 (06:06 +0100)
commitd66faa54b2d7c8ad4ba6815a17d4d4e39b798c1f
tree7030f4b17d9d413a901e2c94d8d3e0ef88b6ca49
parenta503f0562ae9b98802c89cb163f34a75cf240330
vbo: Fix GL_PRIMITIVE_RESTART_FIXED_INDEX in display list compiles.

The maximum value primitive restart index is different for each index data
type. Use the appropriate fixed restart index value.

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