mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
mesa: Make glPrimitiveRestartIndex execute immediately in display lists.
From the GL_NV_primitive_restart spec: "PrimitiveRestartIndexNV is not compiled into display lists, but is executed immediately." Prior to this patch, calls to glPrimitiveRestartIndex would hit the noop dispatch stub. +2 oglconforms. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
a75e704326
commit
bbb67c3efc
1 changed files with 3 additions and 0 deletions
|
|
@ -10445,6 +10445,9 @@ _mesa_create_save_table(void)
|
|||
/* GL_ARB_debug_output (no dlist support) */
|
||||
_mesa_init_errors_dispatch(table);
|
||||
|
||||
/* GL_NV_primitive_restart */
|
||||
SET_PrimitiveRestartIndexNV(table, _mesa_PrimitiveRestartIndex);
|
||||
|
||||
return table;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue