meta: Fix buffer object assignment to account for both pack and unpack bo's
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 4 Feb 2015 00:56:04 +0000 (16:56 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 25 Feb 2015 22:11:23 +0000 (14:11 -0800)
commit068ba4ac78a62d2d07300a54e6585e16a2c747d5
tree29981ce4a8b1957bca2a0cb4863d2ec295ae8b29
parent618c4c4b6ab82c606cd2c8f139372502baa06c5f
meta: Fix buffer object assignment to account for both pack and unpack bo's

create_texture_for_pbo() is shared by _mesa_meta_pbo_GetTexSubImage()
and _mesa_meta_pbo_TexSubImage() functions. So, we need to account
for both pack and unpack buffer objects.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/common/meta_tex_subimage.c