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/gallium/state_trackers/nine/device9.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/gallium/state_trackers/nine/device9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index 92bc72ce28d..b9b7a637d70 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -199,9 +199,9 @@ NineDevice9_ctor( struct NineDevice9 *This, This->pipe_sw = This->screen_sw->context_create(This->screen_sw, NULL, 0); if (!This->pipe_sw) { return E_OUTOFMEMORY; } - This->context.cso = cso_create_context(This->context.pipe); + This->context.cso = cso_create_context(This->context.pipe, 0); if (!This->context.cso) { return E_OUTOFMEMORY; } /* also a guess */ - This->cso_sw = cso_create_context(This->pipe_sw); + This->cso_sw = cso_create_context(This->pipe_sw, 0); if (!This->cso_sw) { return E_OUTOFMEMORY; } /* Create first, it messes up our state. */ |