Resets the current graphics settings.

Calling reset makes the current drawing color white, the current background color black, disables any active [[Canvas]] or [[Shader]], and removes any scissor settings. It sets the [[BlendMode]] to <tt>alpha</tt>, enables all [[love.graphics.setColorMask|color component masks]], disables [[love.graphics.setWireframe|wireframe mode]] and resets the current graphics transformation to the [[love.graphics.origin|origin]]. It also sets both the point and line drawing modes to <tt>smooth</tt> and their sizes to <tt>1.0</tt>.
== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.reset( )
</source>
=== Arguments ===
None
=== Returns ===
Nothing
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setBackgroundColor]]
* [[love.graphics.setColor]]
* [[love.graphics.setLineStyle]]
* [[love.graphics.setPointStyle]]
* [[love.graphics.origin]]
[[Category:Functions]]
{{#set:Description=Resets the current graphics settings.}}
{{#set:Since=000}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.reset}}