On Sun, Dec 6, 2015 at 10:05 PM, Timothy Arceri <timothy.arc...@collabora.com> wrote: > --- > src/mesa/main/context.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h > index 8b64f45..f3d42cb 100644 > --- a/src/mesa/main/context.h > +++ b/src/mesa/main/context.h > @@ -361,7 +361,7 @@ static inline GLboolean > _mesa_has_tessellation(const struct gl_context *ctx) > { > return ctx->API == API_OPENGL_CORE && > - ctx->Extensions.ARB_tessellation_shader; > + (ctx->Version >= 40 || ctx->Extensions.ARB_tessellation_shader);
Under what circumstances would this matter? If you're faking a GL version, probably better not to pass in unexpected shader types to the driver, no? -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev