[SDL] SDL & OpenGL FSAA

Stephane Marchesin stephane.marchesin at wanadoo.fr
Tue Jul 15 07:53:00 PDT 2003


Andrew1300 at aol.com wrote:

>>Actually a patch has already been submitted.  I'm contemplating whether it's
>>worth adding in the next release.  How many people would find it really 
>>usefuL?
>>
>
>     I would gladly use it.   Right now I force it w/ my nvidia drivers 
>on my new GF FX 5600, it cleans up my SDL game quite nicely, native 
>support would rock!  =)  I haven't checked out the patch, but does it 
>support changing to 2x/4x/8x FSAA?  Thanks
>
Yes, through the use of SDL_GL_SetAttribute (SDL_GL_SAMPLES_SIZE, 
number); where number is 1 (no fsaa), 2, 4, 8 (and maybe future cards 
will let you use 16 and more).

Stephane






More information about the SDL mailing list