winsys/virgl/vtest: Correct off-by-one error in resource allocation
authorGert Wollny <gert.wollny@collabora.com>
Tue, 4 Sep 2018 07:36:53 +0000 (09:36 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Wed, 5 Sep 2018 11:54:01 +0000 (13:54 +0200)
commit218ff0d5105fe5d8d77e890d213de972980bd510
treefb347d2fb706e48458deb4c83636fae3be3f417f
parent5341260f62b66f8b8e503d7c8aff5703629193f0
winsys/virgl/vtest: Correct off-by-one error in resource allocation

The resource bo array must already extended when the target index is
equal to the current size of the array.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c