diff options
author | Marek Olšák <[email protected]> | 2018-02-14 23:42:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-23 20:50:19 +0100 |
commit | b8e2e9e1a1a8419f5292b0b2d9d2bdea2ce1b224 (patch) | |
tree | bbb38e13d9d88f25a15401c8da611fb4d01e007b /src/mesa/drivers | |
parent | a0c8b49284efe736849c0a45920ad0a1bbd8d93d (diff) |
mesa: expose ARB_enhanced_layouts in the compatibility profile
GLSL 1.40 is required.
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index cc961e051fd..5a6b12e52a4 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -172,7 +172,8 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_conditional_render_inverted = true; ctx->Extensions.ARB_cull_distance = true; ctx->Extensions.ARB_draw_buffers_blend = true; - ctx->Extensions.ARB_enhanced_layouts = true; + if (ctx->API != API_OPENGL_COMPAT) + ctx->Extensions.ARB_enhanced_layouts = true; ctx->Extensions.ARB_ES3_compatibility = true; ctx->Extensions.ARB_fragment_layer_viewport = true; ctx->Extensions.ARB_pipeline_statistics_query = true; |