Background of window..

Ive begun creating a 2d space shooter and i need to load a bitmap as my background. At this point im not worried about it moving but im just wondering how i would load the bitmap into a texture on a cube the size of my 800x600x16 window (im new to openGL) so that it looks like its the background… any tips?

No need to use a cube (3d object) when you could just use a 4 sided polygon. Some of the early tutorials on http://nehe.gamedev.net/ will show you how.

These functions should get you started as well:

glOrtho
glRasterPos2i
auxDIBImageLoad
glDrawPixels
glPixelZoom

[This message has been edited by DalTXColtsFan (edited 03-17-2003).]