[SDL] SDL_CreateRGBSurface() crash with SDL_HWSURFACE... why?

Sam Lantinga slouken at devolution.com
Tue Dec 23 06:44:00 PST 2003


> Greets, I've encountered an odd error with SDL_CreateRGBSurface() where 
> the app will /always/ crash if SDL_HWSURFACE is passed (if the app is in 
> fullscreen mode - hardware acceleration doesn't occur in windowed mode, 
> yes?)

Does it actually crash inside SDL_CreateRGBSurface()?  Are you able to run
the code under the debugger to find out where it's crashing?  If not, please
post a link to a complete buildable example with data so we can reproduce it.

Thanks,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list