summaryrefslogtreecommitdiffstats
path: root/src/glx/glx_query.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-07-06 17:54:49 -0600
committerBrian Paul <[email protected]>2017-07-07 12:22:46 -0600
commit9ac55e8219e1f6abeab3c779c8fe710c2bc25f2b (patch)
treed703c4a13687819611f5f735c5d6fa0bf296129d /src/glx/glx_query.c
parentf5c8bb1e00f358e05ed21f8ed69c9fc3803bf95f (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 'src/glx/glx_query.c')
0 files changed, 0 insertions, 0 deletions