[Mesa-stable] [PATCH] mesa/main: fix version/extension checks in _mesa_ClampColor
Emil Velikov
emil.l.velikov at gmail.com
Thu Jan 12 16:39:31 UTC 2017
On 12 January 2017 at 09:55, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Add a proper check for feature support, and raise an invalid enum for
> GL_CLAMP_VERTEX/FRAGMENT_COLOR unconditionally in core profiles, since
> those enums were explicitly removed after the extension was promoted
> to core functionality (not in the profile sense) with OpenGL 3.0.
>
Wouldn't it be better to simply not advertise the extension for Core profiles ?
Thanks
Emil
More information about the mesa-stable
mailing list