st/nine: Fix update_vertex_elements bad rebase
This code was supposed to be removed, but a rebase seems to have made it stay. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
@@ -225,9 +225,6 @@ update_vertex_elements(struct NineDevice9 *device)
|
||||
memset(used_streams, 0, device->caps.MaxStreams);
|
||||
vs = device->state.vs ? device->state.vs : device->ff.vs;
|
||||
|
||||
if (!vdecl) /* no inputs */
|
||||
return;
|
||||
|
||||
if (vdecl) {
|
||||
for (n = 0; n < vs->num_inputs; ++n) {
|
||||
DBG("looking up input %u (usage %u) from vdecl(%p)\n",
|
||||
|
||||
Reference in New Issue
Block a user