[SDL] Windows FSAA

Justin Speers jaspeers at comcast.net
Sun Nov 2 17:23:01 PST 2003


Some videocards will also let you disable anti-aliasing in windows 
regardless of what the app requests.  Might want to check that out too.

Mikkel Gjøl wrote:

> Morgan McGuire wrote:
>
>> Has anyone gotten FSAA to work on Windows?
>
>
> Works for me on a fx5200. Here's the init-code:
>
> SDL_GL_SetAttribute( SDL_GL_RED_SIZE,   8);
> SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 8);
> SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE,  8);
> SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, 8);
>     
> SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 24);
> SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1);
>
> SDL_GL_SetAttribute( SDL_GL_MULTISAMPLEBUFFERS, 1);
> SDL_GL_SetAttribute( SDL_GL_MULTISAMPLESAMPLES, 4);
>
> SDL_Surface *screen = SDL_SetVideoMode(640, 480, 32, 
> SDL_OPENGL|SDL_OPENGLBLIT);
>
>
> Regards,
> \\Mikkel Gjoel
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>


-- 
Justin Speers / jaspeers at comcast.net
http://jaspeers.blogspot.com

http://www.garynolan.com
Gary Nolan for President in 2004!







More information about the SDL mailing list