Merge pull request #280 from magumagu/d3d-texture-encoder-rounding D3D11 backend: fix rounding in texture encoder.