diff options
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_extensions.c')
-rwxr-xr-x | src/mesa/drivers/dri/intel/intel_extensions.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 96288ab2fe1..df886a5cdfd 100755 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -89,11 +89,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_texture_rgb10_a2ui = true; if (intel->gen >= 6) - if (ctx->API == API_OPENGL_CORE) { - ctx->Const.GLSLVersion = 140; - } else { - ctx->Const.GLSLVersion = 130; - } + ctx->Const.GLSLVersion = 140; else ctx->Const.GLSLVersion = 120; _mesa_override_glsl_version(ctx); |