mesa: compute row stride outside of loop and fix MSVC compilation error
authorBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2015 21:10:12 +0000 (14:10 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2015 21:35:16 +0000 (14:35 -0700)
commitdf461ac952859a3608b93651fbc4160883b2dd99
tree4ff7a5b1425ccaa93d97fd5e51abc76cd911e092
parente2bf5b183b104d7c3b7b458e655bd16cd4f2b702
mesa: compute row stride outside of loop and fix MSVC compilation error

Can't do void pointer arithmetic with MSVC.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/teximage.c