Closed mardy closed 6 months ago
Avoid reserving memory if glBegin() is never called, and dynamically increase its size as needed. We never free the buffer memory, since it's likely that the same amount of memory will again be needed during the next frame.
Avoid reserving memory if glBegin() is never called, and dynamically increase its size as needed. We never free the buffer memory, since it's likely that the same amount of memory will again be needed during the next frame.