cogl-texture-2d: Fix the coordinate wrapping for negative coordinates
authorNeil Roberts <neil@linux.intel.com>
Mon, 11 Jan 2010 16:21:56 +0000 (16:21 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 15 Jan 2010 12:16:06 +0000 (12:16 +0000)
commita01b4eefceb1d490d918eba1729c87354695d1ca
tree0bfc4765fc2778483dc784b4fbb7f766ccf556e2
parentead43995364bb8865ca5bab15d1bfd295578fff4
cogl-texture-2d: Fix the coordinate wrapping for negative coordinates

The formula to wrap the coordinates to the [0,1] range was broken when
the coordinates were negative.
clutter/cogl/cogl/cogl-texture-2d.c