mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-16 04:27:08 +00:00
ad7e01876c
When resampling thumbnail image during extraction, the math logic resulted in various rounding errors causing wrong rows/columns of pixels to be sampled. Replaced floating point math with integer arithmetic to remove the rounding errors and produce exact copy of stored thumbnail when no resampling is needed. Change-Id: Ic80987f646c5695b4a6755bd8e7110a1a4f675b4