1. rude
  2. love

Issues

Issue #582 resolved

ImageData:setPixel accepting a table

hahawoo
created an issue

If ImageData:setPixel could accept a table, it would be consistent with everything else which sets colors (love.graphics.setColor, love.graphics.setBackgroundColor, ParticleSystem:setColors and SpriteBatch:setColor).

While Lua's unpack function could be used on a table argument to ImageData:setPixel, it could also be used on a table argument to every other function which sets colors except for ParticleSystem:setColors.