love2d-community / love-api

The whole LÖVE wiki in a Lua table.
http://love2d-community.github.io/love-api/
299 stars 46 forks source link

Add defaults to setFilter and setDefaultFilter #128

Closed massette closed 5 months ago

massette commented 5 months ago

The current definition treats mag as a required parameter in both love.graphics.setDefaultFilter and Texture:setFilter, but the wiki shows both as defaulting to min. This pull request would change it to match.

https://love2d.org/wiki/love.graphics.setDefaultFilter https://love2d.org/wiki/Texture:setFilter

Sorry if this was an intentional decision, but I figured it was worth a pull request after seeing other functions default to parameter names.