This program "gldemo" was written to illustrate
how to get an OpenGL application to run in either
fullscreen and windowed mode and with various
resolutions and color depths.

The command line parameters for this program
are:

-width  9999  what window width/screen width do you want?
-height 9999  what window height/screen height do you want?
-bpp    99    what color depth do you want?  (ignored for windowed mode)
-window       run the program in a window
-fov    999   how many degrees field of view do you want?

The program will change your resolution and bpp (if possible)
to the desired sizes and depth then display a texture mapped
rotating triangle in the center of the screen with a untextured
gray plane displayed underneath it.

Escape exits the program.

The texture the program tries to load is not included.  I
don't own the copyright to the image I was using for my
development of this, so I can't distribute it.

The texture loader is just for illustrative purposes, only.
A proper texture loader would do more error checking would
allow for texture sizes to be retrieved from the image file.
Or, you could create your own file format that has the
necessary information stored in it.

