added deletion for static gl objects