ParticleSystem:setSizeVariation crash

Issue #545 resolved
hahawoo
created an issue

This crashes for me:

function love.load()
    image = love.graphics.newImage("image.png");
    p = love.graphics.newParticleSystem(image, 1000)

    p:setParticleLife(1)
    p:setEmissionRate(100)

    p:setSizes(1, 2, 1)
    p:setSizeVariation(2)

    --[[ or...
    p:setSizes(1, 2)
    p:setSizeVariation(3)
    ]]
end

function love.update(dt)
    p:update(dt)
end