summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-04-29 16:12:40 -0700
committerIan Romanick <[email protected]>2015-05-28 16:56:31 -0700
commit9b5e92f4ccc6ee1cb9caea947f6efaad2b391cf1 (patch)
treeb7b85f81804677cbc541eb54ab3683e4380660dd /src/mesa/main
parent03fd6704db9f1d0f203bf8da18bd587c7e35ce60 (diff)
mesa: Allow overriding the version of ES2+ contexts
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c4
1 files changed, 1 insertions, 3 deletions
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);