SDL_SetVideoMode on TG4 running Mac 10.3.2

Hey,

I have a user who is reporting this error resulting from this call to
SDL_SetVideoMode:

SDL_SetVideoMode( w, h, depth, flags );

w= 640
h= 480
depth= 16
flags= SDL_FULLSCREEN | SDL_SWSURFACE

The function returns NULL and SDL_GetError() is returning:

Failed switching display resolution.

He is running Mac OS 10.3.2 on a Titanium G4. Is there any reason why he
wouldn’t be able to support these settings, or might this be a problem with
SDL and his configuration?

Thanks in advance for any help,
Dave

Dave Beck wrote:

SDL_SetVideoMode( w, h, depth, flags );

w= 640
h= 480
depth= 16
flags= SDL_FULLSCREEN | SDL_SWSURFACE

He is running Mac OS 10.3.2 on a Titanium G4. Is there any reason why he
wouldn’t be able to support these settings, or might this be a problem with
SDL and his configuration?

You should ask him which resolutions his machine claims to support. I
assume that it either can’t go as low as 640x480 or doesn’t support
16bpp at all. I was told that 16bpp is actually a “perverted” PC
feature which isn’t supported on most other architectures.–
Christian
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040122/93bb32c1/attachment.pgp