Commit Graph

8 Commits

Author SHA1 Message Date
Sam Lantinga
7777531c48 Merged in Ryan's multisample code for MacOS, and changed the constants to match. 2003-07-22 15:33:28 +00:00
Sam Lantinga
19ffa849ea Date: Thu, 24 Apr 2003 15:13:47 -0400
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!
2003-07-22 15:10:06 +00:00
Sam Lantinga
5f885f7e0e Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs 2003-07-10 07:46:19 +00:00
Sam Lantinga
51ae701fe9 Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5) 2002-08-19 18:09:44 +00:00
Sam Lantinga
eba3a46432 Removed the API changes to preserve SDL 1.2 stability 2002-03-06 11:05:47 +00:00
Sam Lantinga
663bb62fb6 Added a new header file: SDL_loadso.h
It contains the following functions:
	SDL_LoadObject(), SDL_LoadFunction(), SDL_UnloadObject()
The UNIX esd and arts audio code use these to dynamically load
their respective audio libraries.
2002-03-06 05:20:11 +00:00
Sam Lantinga
393bef31ab Added SDL_LockRect() and SDL_UnlockRect()
Incorporated XFree86 extension libraries into the source
2002-03-05 19:55:32 +00:00
Sam Lantinga
5d2015c741 Initial revision 2001-04-26 16:45:43 +00:00