Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just keep a vector of rectangles that you would like to draw. Drawing 9 rectangles per frame is not going to cause performance issues.