Removed 'extern crate gl_generator' and implemented 'poll_events'