diff options
author | Axel Davy <[email protected]> | 2016-12-04 19:23:11 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:47:08 +0100 |
commit | 8960be0e939bc6c0f9f34c5d4a16891af7e325fd (patch) | |
tree | 61ab071c2f30c79bac91f10bb2b055c74693b975 /src/gallium/state_trackers/nine/vertexbuffer9.c | |
parent | 1e64be6f91652e7e5ba60c86c379ee41bb7e4f81 (diff) |
st/nine: Allow non-zero resource offset for vertex buffers
Next patches will introduce an offset.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexbuffer9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/vertexbuffer9.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/vertexbuffer9.c b/src/gallium/state_trackers/nine/vertexbuffer9.c index b0eebfb48f3..027f290d8a3 100644 --- a/src/gallium/state_trackers/nine/vertexbuffer9.c +++ b/src/gallium/state_trackers/nine/vertexbuffer9.c @@ -63,8 +63,9 @@ NineVertexBuffer9_dtor( struct NineVertexBuffer9 *This ) } struct pipe_resource * -NineVertexBuffer9_GetResource( struct NineVertexBuffer9 *This ) +NineVertexBuffer9_GetResource( struct NineVertexBuffer9 *This, unsigned *offset ) { + *offset = 0; return NineBuffer9_GetResource(&This->base); } |