diff options
author | Brian Paul <[email protected]> | 2017-07-06 17:54:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-07-07 12:22:46 -0600 |
commit | 9ac55e8219e1f6abeab3c779c8fe710c2bc25f2b (patch) | |
tree | d703c4a13687819611f5f735c5d6fa0bf296129d /scripts | |
parent | f5c8bb1e00f358e05ed21f8ed69c9fc3803bf95f (diff) |
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: Charmaine Lee <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions