diff options
author | Marek Olšák <[email protected]> | 2017-02-10 01:09:27 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-02-14 21:47:51 +0100 |
commit | e0f95ddd3e1217e5710cdd12e733b6440592cc7d (patch) | |
tree | 28356a6fbc3fb384b9465e365a8d52f7dda59c13 /src/mesa/state_tracker/st_context.c | |
parent | 0561b3c75af2e4bb216b686bf62ae9d89c584dc8 (diff) |
gallium: let state trackers tell u_vbuf whether user VBOs are possible
This can affect whether u_vbuf will be enabled or not.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 3d0455f9326..4b9d913f639 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -342,7 +342,7 @@ st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe, st->has_user_constbuf = screen->get_param(screen, PIPE_CAP_USER_CONSTANT_BUFFERS); - st->cso_context = cso_create_context(pipe); + st->cso_context = cso_create_context(pipe, 0); st_init_atoms( st ); st_init_clear(st); |