[SDL] Multisampling crash problem

Ryan C. Gordon icculus at icculus.org
Mon Jul 2 16:49:14 PDT 2007


>  I’m working on a project made with SDL that has the ability for the user to
> choose various video settings at run-time. The problem is that when
> multisampling is changed at runtime, other than once on program start, the
> program crashes.

I just tried the attached program on Linux/x11 and Mac OS X/quartz and 
it worked on both without crashing (although the Linux 
SDL_SetVideoMode() returned NULL with 6 MULTISAMPLESAMPLES, 2 got the 
same effect).

What platform is this crashing on? What version of SDL and the OS?

Test program was compiled as:

    gcc -Wall -O0 -g -o test test.c `sdl-config --cflags --libs`

with the latest Subversion of SDL, on Ubuntu 7.04, and Mac OS X 
10.4.10/intel.

--ryan.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 881 bytes
Desc: not available
Url : http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070702/ae49f4e5/attachment.c 


More information about the SDL mailing list