[Mesa-dev] [PATCH] mesa: enable tessellation on GL 4.0 and above
Timothy Arceri
timothy.arceri at collabora.com
Sun Dec 6 19:05:44 PST 2015
---
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);
}
--
2.4.3
More information about the mesa-dev
mailing list