From 9b5e92f4ccc6ee1cb9caea947f6efaad2b391cf1 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 29 Apr 2015 16:12:40 -0700 Subject: mesa: Allow overriding the version of ES2+ contexts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ian Romanick Reviewed-by: Tapani Pälli --- src/mesa/main/context.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index e4faf3d462a..8a59b5ed42f 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1169,9 +1169,7 @@ _mesa_initialize_context(struct gl_context *ctx, ctx->HasConfig = GL_FALSE; } - if (_mesa_is_desktop_gl(ctx)) { - _mesa_override_gl_version(ctx); - } + _mesa_override_gl_version(ctx); /* misc one-time initializations */ one_time_init(ctx); -- cgit v1.2.3