fragworks / frag

A cross-platform 2D|3D game framework for the Nim programming language
http://fragworks.io
MIT License
213 stars 15 forks source link

Spritebatch - Check transient buffer before allocation #18

Open zacharycarter opened 7 years ago

zacharycarter commented 7 years ago

Currently spritebatch is just allocating transient buffers all willy nilly. Should call check first before allocating buffer.