st/mesa: BufferData should flag NewDriverState
authorMarek Olšák <marek.olsak@amd.com>
Sun, 7 Aug 2016 00:45:30 +0000 (02:45 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 12 Aug 2016 16:50:01 +0000 (18:50 +0200)
commit317e136ef0f1e5e21ee0edb309b3bd8242b29f35
tree4d30fa605128dac8456042836a9eaa1379f83ece
parent085aa7f91e82dfeb08dd6fb0655df3e229816db3
st/mesa: BufferData should flag NewDriverState

because NewDriverState is filtered depending on active shader states,
while st->dirty isn't.

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_cb_bufferobjects.c