src/render/metal/SDL_render_metal.m
changeset 11807 6b3d9e08c586
parent 11806 aa740c67a96a
child 11809 4b858abfb24d
     1.1 --- a/src/render/metal/SDL_render_metal.m	Tue Jan 02 14:11:10 2018 -0800
     1.2 +++ b/src/render/metal/SDL_render_metal.m	Tue Jan 02 14:32:15 2018 -0800
     1.3 @@ -825,7 +825,7 @@
     1.4  static inline float
     1.5  adjusty(const float val)
     1.6  {
     1.7 -	return (val - 0.5f);
     1.8 +	return (val + 0.5f);
     1.9  }
    1.10  
    1.11  // normalize a value from 0.0f to len into 0.0f to 1.0f.