SDL test app, testbitmap, broken?

This is a trivial one, but testbitmap.c does this:

 /* Load the bitmap */
 bitmap = LoadXBM(screen, picture_width, picture_height,
				(Uint8 *)picture_bits);

Unfortunately, picture_width, picture_height, and picture_bits are not
defined, so it won’t compile.

As well, the “picture.xbm” file seems to have gone away. Anyone still
have a good copy of this to resurrect? I know it’s not important, but
it’s an easy thing to fix.

-Roy

This is a trivial one, but testbitmap.c does this:

 /* Load the bitmap */
 bitmap = LoadXBM(screen, picture_width, picture_height,
  			(Uint8 *)picture_bits);

Unfortunately, picture_width, picture_height, and picture_bits are not
defined, so it won’t compile.

As well, the “picture.xbm” file seems to have gone away. Anyone still
have a good copy of this to resurrect? I know it’s not important, but
it’s an easy thing to fix.

Hi Roy, picture.xbm is in the SDL source archive. What package are you
using that is missing the file?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi Roy, picture.xbm is in the SDL source archive. What package are you
using that is missing the file?

Argh-- you’re right. Sorry 'bout that.

-Roy