summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2017-05-22 00:19:01 +0200
committerAxel Davy <[email protected]>2017-05-24 00:40:43 +0200
commit7e04ae74d44105dca8190fc2fdd2ab8581cbe698 (patch)
tree6444ec026865af999f6612dec2159e8597d43002 /src/gallium/state_trackers/nine/device9.c
parent7009955281260fbb488736706679eb9fa73493d4 (diff)
st/nine: Fix a regression and syntax cleanup
A few cleanups and in particular initializing properly the new pipe_draw_info fields. This should fix the regression caused by 330d0607ed60fd3edca192e54b4246310f06652f Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101088 Signed-off-by: Axel Davy <[email protected]> Tested-by: Edmondo Tommasina <[email protected]> Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.c')
-rw-r--r--src/gallium/state_trackers/nine/device9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c
index 9f9e104b91a..88df38c43f6 100644
--- a/src/gallium/state_trackers/nine/device9.c
+++ b/src/gallium/state_trackers/nine/device9.c
@@ -2915,7 +2915,7 @@ NineDevice9_DrawIndexedPrimitiveUP( struct NineDevice9 *This,
ibuf,
ibuf ? NULL : (void*)pIndexData,
index_offset,
- index_size);
+ index_size);
NineAfterDraw(This);
pipe_vertex_buffer_unreference(&vbuf);