Simple DirectMedia Layer https://libsdl.org
Find a file
Sam Lantinga 9cd5f5ceca Fixed bug 2404 - CPU detection not working with MSVC on x64
Tiemo Jung

All CPU detection functions SDL_Has* will return false, even if it is supported by the CPU, if SDL is compiled with MSVC and the target is x64.

The reason for this is that 'CPU_haveCPUID' will return 0 and macro 'cpuid' in SDL_cpuinfo.c is the fallback implementation, which sets all params to zero.

It is safe to assume that cpuid is supported on a CPU that runs windows x64, so CPU_haveCPUID can just return 1, and the empty macro can be replaced with a small wrap around the __cpuid intrinsic.
2014-02-22 19:10:45 -08:00
acinclude
android-project Try to work around Android's handling of static variables in terminated apps 2014-02-12 18:12:14 -03:00
build-scripts Enable ccache for Raspberry Pi buildbot script. 2013-12-15 00:21:42 -05:00
cmake Hooked up dynamic loading for Mir. 2014-02-03 11:52:54 -05:00
debian Updated SDL to version 2.0.2 2014-02-09 03:09:56 -08:00
include Fixed bug 2346 - Mac: mousewheel events have flipped horizontal scroll values 2014-02-22 14:57:12 -08:00
premake Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
src Fixed bug 2404 - CPU detection not working with MSVC on x64 2014-02-22 19:10:45 -08:00
test Improve testgles2 exit behavior (useful on Android) 2014-02-20 16:12:11 -03:00
VisualC Fixes #2408, VS2013: several projects of release build are not built 2014-02-20 17:03:55 -03:00
visualtest
Xcode Updated SDL to version 2.0.2 2014-02-09 03:09:56 -08:00
Xcode-iOS Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
.hgignore Ignore the buildbot build directories. 2014-02-02 21:38:16 -05:00
Android.mk Add Dynamic API to Android makefile. 2014-01-08 00:45:29 -05:00
autogen.sh
BUGS.txt
CMakeLists.txt Fix Cmake so generated SOname matches autoconf's #. 2014-02-10 10:53:02 -05:00
configure Fixed bug 2298 - undefined reference to `IID_IUnknown' on cygwin 2014-02-22 15:34:31 -08:00
configure.in Fixed bug 2298 - undefined reference to `IID_IUnknown' on cygwin 2014-02-22 15:34:31 -08:00
COPYING.txt Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
CREDITS.txt
INSTALL.txt
Makefile.in
Makefile.minimal
Makefile.pandora
Makefile.psp
Makefile.wiz
README-android.txt Updated paths in README for Android. 2013-12-25 16:53:39 +01:00
README-cmake.txt
README-directfb.txt
README-dynapi.txt Adds README-dynapi.txt based on Ryan's G+ post (lightly edited) 2014-01-15 12:29:17 -03:00
README-gesture.txt
README-hg.txt
README-ios.txt
README-linux.txt
README-macosx.txt Updated README-macosx.txt to note new minimum requirements, end of PowerPC. 2014-02-07 12:03:02 -05:00
README-pandora.txt
README-platforms.txt
README-porting.txt
README-psp.txt
README-raspberrypi.txt Fixed typo in documentation. 2014-01-26 23:42:25 +01:00
README-SDL.txt
README-touch.txt
README-wince.txt
README-windows.txt Corrected name of hint in README. 2014-02-15 23:52:04 +01:00
README.txt
sdl2-config.in
sdl2.m4
sdl2.pc.in
SDL2.spec.in
TODO.txt
VisualC.html
WhatsNew.txt Changed text in documentation. 2014-02-15 23:57:38 +01:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
http://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed
to provide low level access to audio, keyboard, mouse, joystick, and graphics
hardware via OpenGL and Direct3D. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog
and many Humble Bundle games.

SDL officially supports Windows, Mac OS X, Linux, iOS, and Android.
Support for other platforms may be found in the source code.

SDL is written in C, works natively with C++, and there are bindings 
available for several other languages, including C# and Python.

This library is distributed under the zlib license, which can be found
in the file "COPYING.txt".

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 and FAQs are available online at:
	http://wiki.libsdl.org/

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

If you want to report bugs or contribute patches, please submit them to
bugzilla:
    http://bugzilla.libsdl.org/

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)