Re: getColor/setColor subtracting 1
Posted: Fri Jan 11, 2013 9:10 pm
It should work for every colour. The workaround checks how big the error is and the replaces love.graphics.getColor with a version that corrects for that error. If you don't have the error on your computer, it doesn't change a thing, but for anyone that does have the error, this should fix it.Uhfgood wrote:does this little workaround work for any color you get and set, or is it limited to 255, 255, 255, 255 ?
And if I put it in my source (where get color acts as it should) is it going to screw anything up for me (that does not have the problem) because If I can use it for any color, then I might put it in my source so that people that play my love file don't get that fading gray screen or whatever