1. Anders Ruud
  2. love
  3. Issues


Issue #582 resolved

ImageData:setPixel accepting a table

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.