summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-12-29 22:02:28 -0500
committerMarek Olšák <[email protected]>2020-01-08 13:40:59 -0500
commitce648b913f83b968eb6ba1ad33fdcf86d5942fe5 (patch)
tree96f88ed059e9037a89c69b076efbe3b2b781c6a5 /src/mesa
parent472593e9cfcb8d5b49d2475ee677700584583812 (diff)
gallium: put u_vbuf_get_caps return values into u_vbuf_caps
Acked-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 72e1a50bca3..e6a5b65dc22 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -586,9 +586,9 @@ st_create_context_priv(struct gl_context *ctx, struct pipe_context *pipe,
* profile, so that u_vbuf is bypassed completely if there is nothing else
* to do.
*/
- unsigned vbuf_flags =
- ctx->API == API_OPENGL_CORE ? U_VBUF_FLAG_NO_USER_VBOS : 0;
- st->cso_context = cso_create_context(pipe, vbuf_flags);
+ unsigned cso_flags =
+ ctx->API == API_OPENGL_CORE ? CSO_NO_USER_VERTEX_BUFFERS : 0;
+ st->cso_context = cso_create_context(pipe, cso_flags);
st_init_atoms(st);
st_init_clear(st);