[Mesa-dev] [PATCH 2/9] mesa shaderapi: don't enable various functions for GL CORE
Matt Turner
mattst88 at gmail.com
Wed Oct 24 20:29:06 PDT 2012
On Wed, Oct 24, 2012 at 2:20 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> - if (ctx->API != API_OPENGLES2) {
> + if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) {
> @@ -1732,9 +1732,8 @@ _mesa_init_shader_dispatch(const struct gl_context *ctx,
> - if (ctx->API != API_OPENGLES2) {
> + if (ctx->API != API_OPENGLES2 && ctx->API != API_OPENGL_CORE) {
Nit: in one we have !CORE && !GLES2 and in the other we have the order reversed.
More information about the mesa-dev
mailing list