This class can cause the creation of buffers on geometry addition, which if it happens on a non-gl thread will fail and lead to unexpected results.
Creating the buffers lazily could work, however, depending on usage it just moves the problem somewhere else.
This class can cause the creation of buffers on geometry addition, which if it happens on a non-gl thread will fail and lead to unexpected results.
Creating the buffers lazily could work, however, depending on usage it just moves the problem somewhere else.