Difference between revisions of "SpriteBatch:unbind"

(Add deprecation note.)
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[SpriteBatch:unlock]]}}
 
{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[SpriteBatch:unlock]]}}
{{deprecatedin|[[0.9.2]]|092|type=function}}
+
{{deprecatedin|[[0.9.2]]|092|type=function|text=Use [[SpriteBatch:flush]] instead.}}
 
Unbinds the [[SpriteBatch]].
 
Unbinds the [[SpriteBatch]].
  

Revision as of 11:39, 10 August 2015

Available since LÖVE 0.8.0
It has been renamed from SpriteBatch:unlock.
Deprecated in LÖVE 0.9.2
Use SpriteBatch:flush instead..

Unbinds the SpriteBatch.

All SpriteBatch:bind calls should have a matching SpriteBatch:unbind after the batch has been updated.

Function

Synopsis

SpriteBatch:unbind( )

Arguments

None.

Returns

Nothing.

See Also

Other Languages