README
author Michael Sartain <mikesart@valvesoftware.com>
Thu, 11 Oct 2012 09:41:43 -0700
changeset 6570 45855398762c
parent 6251 3e8c673cad58
child 6878 30579e86ac24
permissions -rw-r--r--
Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if available (instead of TrueColor).
Our new X11 window was being created with the TrueColor attribute, and trying to set the gamma
on that would fail. This change checks for the visual_info extension, and uses that to ask for
DirectColor if available.
     1 
     2                          Simple DirectMedia Layer
     3 
     4                                   (SDL)
     5 
     6                                 Version 2.0
     7 
     8 ---
     9 http://www.libsdl.org/
    10 
    11 This is the Simple DirectMedia Layer, a general API that provides low
    12 level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
    13 and 2D framebuffer across multiple platforms.
    14 
    15 The current version supports Windows, Windows CE, Mac OS X, Linux, FreeBSD,
    16 NetBSD, OpenBSD, BSD/OS, Solaris, iOS, and Android. The code contains
    17 support for other operating systems but those are not officially supported.
    18 
    19 SDL is written in C, but works with C++ natively, and has bindings to
    20 several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
    21 Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
    22 Pike, Pliant, Python, Ruby, and Smalltalk.
    23 
    24 This library is distributed under the zlib license, which can be found
    25 in the file "COPYING".
    26 
    27 The best way to learn how to use SDL is to check out the header files in
    28 the "include" subdirectory and the programs in the "test" subdirectory.
    29 The header files and test programs are well commented and always up to date.
    30 More documentation is available in HTML format in "docs/index.html", and
    31 a documentation wiki is available online at:
    32 	http://www.libsdl.org/cgi/docwiki.cgi
    33 
    34 The test programs in the "test" subdirectory are in the public domain.
    35 
    36 Frequently asked questions are answered online:
    37 	http://www.libsdl.org/faq.php
    38 
    39 If you need help with the library, or just want to discuss SDL related
    40 issues, you can join the developers mailing list:
    41 	http://www.libsdl.org/mailing-list.php
    42 
    43 Enjoy!
    44 	Sam Lantinga				(slouken@libsdl.org)
    45