Error
data/class/light.lua:41: The 'multiply' blend mode must be used with premultiplied alpha.
Traceback
[C]: in function 'setBlendMode'
data/class/light.lua:41: in function 'draw'
data/state/game.lua:131: in function 'draw'
data/class/state.lua:41: in function 'draw'
main.lua:163: in function 'draw'
[C]: in function 'xpcall'
Oh. I didn't realise that setBlendMode had a 2nd argument. You'd think if you need premultiplied alpha to use the multiply blend mode it would default to that.
Or the error would indicate that it needs a 2nd argument.