fix rounding mode from global to texturing