Posted 08 September 1999 - 08:22 AM
static char szbitmap "gb";
glpdds1 = DDLoadBitmap(glpdd,szbitmap,0,0);
if(glpdds1 == NULL)
"gb" is gb.bmp - 640x480 256 colors.
All help is appreciated. Thanks.
I'm trying to load a bitmap using the same technique that the samples that come with directx use. Examples 4 and 5 do it this same way, and when I run them they work. But when I write my own program I get the DDLoad Bitmap FAILED and I can't figure out why. Here is the code and declarations.