preparing to OPENGL widget