[GL display]

* fix buffer allocation of gl widgets