[SDL] Windows FSAA

Mikkel Gjøl s971661 at student.dtu.dk
Sun Nov 2 15:06:01 PST 2003


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





More information about the SDL mailing list