[Mesa-dev] [PATCH] mesa: Disable GL_NV_primitive_restart extension in core contexts.

Eric Anholt eric at anholt.net
Mon Dec 3 09:13:03 PST 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> 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.
>
> 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".

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121203/afb12d10/attachment.pgp>


More information about the mesa-dev mailing list