Skip to content
Snippets Groups Projects
Commit 9ac55e82 authored by Brian Paul's avatar Brian Paul
Browse files

mesa: finish implementing glPrimitiveRestartNV() for display lists


If we try to build a display list with just a glPrimitiveRestartNV()
call, we'd crash because of a null GLvertexformat::PrimitiveRestartNV
pointer.  This change fixes that case.

The previous patch fixed the case of calling glPrimitiveRestartNV()
inside a glBegin/End pair.

v2: minor clean-up in save_PrimitiveRestartNV(), per Charmaine.

Reviewed-by: default avatarCharmaine Lee <charmainel@vmware.com>
parent f5c8bb1e
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