Is clearing sprite batch necessary?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
xsw
Prole
Posts: 13
Joined: Sat Dec 31, 2016 8:26 am

Is clearing sprite batch necessary?

Post by xsw »

Hi,

Just wondering if it's necessary to manually clear a sprite batch when you don't need it anymore, or is it enough to just delete the reference (will the gc handle clearing up all gpu memory it used)?
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 151 guests