• Sam Lantinga's avatar
    Date: Thu, 24 Apr 2003 15:13:47 -0400 · 800e2d5e
    Sam Lantinga authored
    From: Shawn Kirst
    Subject: SDL-1.2.5 patch to add ARB_multisample support
    
    Attached is a patch I have written for SDL-1.2.5 that adds ARB_multisample
    support.  I only have the X11 and Win32 video patched.  The Win32 patch also
    adds support for WGL_ARB_pixel_format, as it was required for getting a
    multisample capable pixel format.  No additional GL header files are required
    to compile on either platform (though you need an up-to-date glx.h for X11).
    
    Requesting a multisample pixel format is made possible using
    SDL_GL_SetAttribute with the two new SDL_GLattr's I've added
    (SDL_GL_SAMPLE_BUFFERS and SDL_GL_SAMPLES).  I've been using SDL in my
    projects for quite a while now, so I am happy to contribute back to the
    project.  Now you can have and control FSAA in your SDL/GL apps at the
    application level!
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40656
    800e2d5e
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
SDL_x11dga.c Loading commit data...
SDL_x11dga_c.h Loading commit data...
SDL_x11events.c Loading commit data...
SDL_x11events_c.h Loading commit data...
SDL_x11gamma.c Loading commit data...
SDL_x11gamma_c.h Loading commit data...
SDL_x11gl.c Loading commit data...
SDL_x11gl_c.h Loading commit data...
SDL_x11image.c Loading commit data...
SDL_x11image_c.h Loading commit data...
SDL_x11modes.c Loading commit data...
SDL_x11modes_c.h Loading commit data...
SDL_x11mouse.c Loading commit data...
SDL_x11mouse_c.h Loading commit data...
SDL_x11video.c Loading commit data...
SDL_x11video.h Loading commit data...
SDL_x11wm.c Loading commit data...
SDL_x11wm_c.h Loading commit data...
SDL_x11yuv.c Loading commit data...
SDL_x11yuv_c.h Loading commit data...