This constructor creates the window with the size and pixel depth defined
in mode. An optional style can be passed to customize the look and
behavior of the window (borders, title bar, resizable, closable, ...).
The fourth parameter is an optional structure specifying advanced OpenGL
context settings such as antialiasing, depth-buffer bits, etc. You
shouldn't care about these parameters for a regular usage of the graphics
module.
Construct a new window.
This constructor creates the window with the size and pixel depth defined in mode. An optional style can be passed to customize the look and behavior of the window (borders, title bar, resizable, closable, ...).
The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. You shouldn't care about these parameters for a regular usage of the graphics module.