removed initialization of OpenGL structures from constructors