setColor bug
Posted: Thu Aug 09, 2018 1:47 am
In the wiki (https://love2d.org/wiki/love.graphics.setColor), says:
"In versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1."
This really works fine when I use setColor(number, number, number), the range is 0 to 255, but when I pass a table that contains the colors the range is 0 to 1.
Is this a bug or setColor behavior are correct?
I'm using love 11.1:
Sorry if there are any errors in this topic.
"In versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1."
This really works fine when I use setColor(number, number, number), the range is 0 to 255, but when I pass a table that contains the colors the range is 0 to 1.
Is this a bug or setColor behavior are correct?
I'm using love 11.1:
Sorry if there are any errors in this topic.