st/mesa: use cso_set_viewport_dims() in try_pbo_upload_common()
authorBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 00:27:15 +0000 (17:27 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Feb 2016 18:25:02 +0000 (11:25 -0700)
commit5e52df21982eca6188c57f147ff6cc7361b3a61a
tree8190a959f82c365363d06a4eb81690deef1f15ad
parent9a939ebb47a0d37a6b29e3dbb1b20bdc9538a721
st/mesa: use cso_set_viewport_dims() in try_pbo_upload_common()

Note that this results in a different transformation for the viewport's
Z axis (depth range), but that doesn't matter for this case.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_cb_texture.c