glutInitDisplayModeGLUTDOUBLE
glutInitDisplayMode is a function in the OpenGL Utility Toolkit (GLUT) that specifies the initial display mode for windows created by GLUT. It does not create a window itself; instead, it configures the properties of subsequent windows and remains in effect until changed by another call.
The function accepts a single argument: mode, an unsigned integer formed by bitwise OR-ing one or more
Usage and behavior: Call glutInitDisplayMode before the first window is created with glutCreateWindow, typically after initializing
In practice, developers choose a mode that matches their rendering needs, such as double buffering with a