This is actually useful to have.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14632>
/*@{*/
struct vbo_context vbo_context;
struct st_context *st;
+ struct pipe_screen *screen;
struct pipe_context *pipe;
struct st_config_options *st_opts;
struct cso_context *cso_context;
memset(ctx, 0, sizeof(*ctx));
ctx->pipe = pipe;
+ ctx->screen = pipe->screen;
+
if (!_mesa_initialize_context(ctx, api, visual, shareCtx, &funcs)) {
align_free(ctx);
return NULL;