svga: avoid a calloc in svga_buffer_transfer_map()
authorBrian Paul <brianp@vmware.com>
Tue, 2 Aug 2016 20:30:41 +0000 (14:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Aug 2016 14:24:53 +0000 (08:24 -0600)
commit1e5eb79d9a7464482189d7ee8c0f495a31b7f0a3
treef72f70e24e2a21524bc3a74c69605068629688ba
parentf934117bbb9d58f0f5d9cfb4397fec9c6371ed64
svga: avoid a calloc in svga_buffer_transfer_map()

Just initialize the two other pipe_transfer fields explicitly.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_resource_buffer.c