No description
kty@lavabit.com 2009-09-19 14:19:04 PDT The stable release of SDL 1.2.13 for BeOS/Haiku has a bug in BE_FindClosestFSMode that causes it to sometimes not select the best mode when going fullscreen. There are in fact two bugs in the implementation but I will not go into specifics because there is already a patch for it in the developer SVN 1.3. However I am still reporting it because I believe the following code is a better patch for the issue. The current implementation on SVN only works if it is able to find an exact match for the requested mode. However, by scanning from lowest-to-highest resolution instead of highest-to-lowest, one can find the best mode at all times --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403997 |
||
---|---|---|
acinclude | ||
build-scripts | ||
docs | ||
include | ||
src | ||
test | ||
autogen.sh | ||
Borland.html | ||
Borland.zip | ||
BUGS | ||
configure.in | ||
COPYING | ||
CREDITS | ||
CWprojects.sea.bin | ||
docs.html | ||
INSTALL | ||
Makefile.dc | ||
Makefile.ds | ||
Makefile.in | ||
Makefile.minimal | ||
MPWmake.sea.bin | ||
README | ||
README-SDL.txt | ||
README.AmigaOS | ||
README.BeOS | ||
README.CVS | ||
README.DC | ||
README.MacOS | ||
README.MacOSX | ||
README.MiNT | ||
README.NanoX | ||
README.NDS | ||
README.OS2 | ||
README.PicoGUI | ||
README.Porting | ||
README.PS3 | ||
README.QNX | ||
README.Qtopia | ||
README.RISCOS | ||
README.SVN | ||
README.Symbian | ||
README.Watcom | ||
README.WinCE | ||
README.wscons | ||
sdl-config.in | ||
sdl.m4 | ||
sdl.pc.in | ||
SDL.qpg.in | ||
SDL.spec.in | ||
symbian.zip | ||
TODO | ||
VisualC.html | ||
VisualC.zip | ||
VisualCE.zip | ||
Watcom-OS2.zip | ||
Watcom-Win32.zip | ||
WhatsNew |
Simple DirectMedia Layer (SDL) Version 1.2 --- http://www.libsdl.org/ This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms. The current version supports Linux, Windows CE/95/98/ME/XP/Vista, BeOS, MacOS Classic, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, Nintendo DS, and OS/2, but these are not officially supported. SDL is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, C#, Eiffel, Erlang, Euphoria, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, Pike, Pliant, Python, Ruby, and Smalltalk. This library is distributed under GNU LGPL version 2, which can be found in the file "COPYING". This license allows you to use SDL freely in commercial programs as long as you link with the dynamic library. The best way to learn how to use SDL is to check out the header files in the "include" subdirectory and the programs in the "test" subdirectory. The header files and test programs are well commented and always up to date. More documentation is available in HTML format in "docs/index.html", and a documentation wiki is available online at: http://www.libsdl.org/cgi/docwiki.cgi The test programs in the "test" subdirectory are in the public domain. Frequently asked questions are answered online: http://www.libsdl.org/faq.php If you need help with the library, or just want to discuss SDL related issues, you can join the developers mailing list: http://www.libsdl.org/mailing-list.php Enjoy! Sam Lantinga (slouken@libsdl.org)