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
getColor/setColor subtracting 1
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 7
- Joined: Mon Jan 07, 2013 8:48 pm
Re: getColor/setColor subtracting 1
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 3 guests