function love.load()
veiwport = love.image.newImageData(love.window.width, love.window.height);
end
I get the error "bad argument #1 to to newImageData(file, FileName or FileData expected)". I would like to know if this means that the feature was removed or there is a different syntax.
It wasn't, the problem is that love.window.width is a nil value, so it can't detect which variant it should use, hence the slightly confusing error message. Try love.window.getWidth() (and love.window.getHeight()). Or, more concisely, love.window.getDimensions().