diff options
author | Kenneth Graunke <[email protected]> | 2012-12-02 22:30:45 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-12-03 17:59:28 -0800 |
commit | 32c6db3978e89e61660d9479d7548cb7a5e04ba2 (patch) | |
tree | 70248d594ff2d0f95d251edcdf5338f7079b48af /src/mesa/main/queryobj.c | |
parent | 3ac97c6ccc06c877d36775885270924c0e750492 (diff) |
mesa: Disable GL_NV_primitive_restart extension in core contexts.
The NV formulation of primitive restart is turned on/off with
glEnableClientState/glDisableClientState. These two functions don't
exist in core contexts, which mean that GL_NV_primitive_restart is
essentially useless...even broken.
However, leaving it on causes oglconform's primitive-restart-nv tests to
run in OpenGL 3.1 contexts, which results in them all failing. This
patch causes 29 subtests to go from "fail" to "not run".
NOTE: This is a candidate for stable branches.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/queryobj.c')
0 files changed, 0 insertions, 0 deletions