Skip to content
Snippets Groups Projects
Commit c869387d authored by Mathias Fröhlich's avatar Mathias Fröhlich
Browse files

mesa: Correct the is_vertex_position decision for dlists.


We have to use _mesa_inside_dlist_begin_end instead of
_mesa_inside_begin_end to see if we are inside a glBegin/glEnd block in
case of display lists.
So split the is_vertex_position function used in vertex attribute processing
into a imm and dlist variant and use the appropriate _mesa_inside_begin_end
variant.

Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
Signed-off-by: default avatarMathias Fröhlich <Mathias.Froehlich@web.de>
parent 5ad54217
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment