/**

  * Class GLWindow written by Justin Klein, 2004

  **/

 

 

/**

  * Create and display an OpenGL Window:

  *    -hInstance:      An instance to the app that will own the window

*   -windowsProc:    Windows callback proc that will receive

*                     messages occurring in the OpenGL window

  *    -windowName:     The name for the window's title-bar

  *    -xRes, yRes:     The initial resolution of the window

  *    -colorDepth:     16, 24, or 32, for bits of color.

*    -depthBuffer:    16, 24, or 32 bits to use for our Z-buffer

*    -fullscreen:     0 or 1, for initially fullscreen or windowed.

  * Return the HWND for this window upon success, NULL upon failure

  **/

HWND CreateGLWindow(            HINSTANCE hInstance,

                                            WNDPROC windowsProc,

                                            char* windowName,

                                            int xRes,

                                            int yRes,

                                            int colorDepth,

                                            int depthBuffer,

                                            int fullscreen);

 

 

 

/**

  * Kill the openGL window so that we can safely create a new one.

  **/

void KillGLWindow();