summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-11-06 15:33:52 +0000
committerEmil Velikov <[email protected]>2017-11-16 14:07:14 +0000
commit167e958a87d53614e6bbb78b09bafcea17335b4b (patch)
tree9c344a4631d06276cb9df6014fc7455cfb5ba165 /src/mesa/main/context.c
parentba8a347f932f966422a5e156e54e8d05b664cf44 (diff)
mesa: call _mesa_make_extension_string only as needed
As of previous commit we removed the extension overrides from this function. Thus we no longer need to call it during MakeCurrent, so we can construct the extensions string when needed - _mesa_GetString. This commit effectively reverts a879d14ecf8 ("mesa: initialize extension string when context is first bound") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 61099eb39f2..762765c9c97 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1576,8 +1576,6 @@ handle_first_current(struct gl_context *ctx)
return;
}
- ctx->Extensions.String = _mesa_make_extension_string(ctx);
-
check_context_limits(ctx);
/* According to GL_MESA_configless_context the default value of