From e0f95ddd3e1217e5710cdd12e733b6440592cc7d Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 10 Feb 2017 01:09:27 +0100 Subject: gallium: let state trackers tell u_vbuf whether user VBOs are possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This can affect whether u_vbuf will be enabled or not. Reviewed-by: Nicolai Hähnle --- src/gallium/tests/trivial/tri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/tests/trivial/tri.c') diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c index 914f5e75fa9..a2031696f02 100644 --- a/src/gallium/tests/trivial/tri.c +++ b/src/gallium/tests/trivial/tri.c @@ -96,7 +96,7 @@ static void init_prog(struct program *p) /* create the pipe driver context and cso context */ p->pipe = p->screen->context_create(p->screen, NULL, 0); - p->cso = cso_create_context(p->pipe); + p->cso = cso_create_context(p->pipe, 0); /* set clear color */ p->clear_color.f[0] = 0.3; -- cgit v1.2.3