In addition to clearing the color buffer, the display function performs the appropriate action based on the values stored in textureChoice and displayChoice. As seen in the menu handler, the values are established with the user's choice.
The texture choice is accomplished with binding the appropriate texture name. Note that the names and the texture properties associated with the names are established in our init function.
The choice of geometry is carried out here by making a call to the appropriate function that draws the geometry.