Adds function to set the window icon
opengl attributes