OpenImageIO/oiio — pull request #746 by lgritz (2013-11-24 06:34:16+00:00)
Title: Fix bug in multi-point environment call -- wasn't incrementing result pointer

Fix bug in multi-point environment call -- wasn't incrementing result pointer

Also modify the multi-point texture and environment calls to use
get_perthread_info and get_texture_handle to do those expensive operations
just once per grid, rather than per point.