Mercurial > sdl-ios-xcode
annotate README.Platforms @ 5126:d79ff339d1f2
Fixed bug #1056 (Frequent crashes in Touch events by simply touching the screen)
Joseba GarcĂa Echebarria 2010-12-15 01:55:22 PST
I believe the crash is caused by a check not being performed on wether an
SDL_Touch element is NULL before using it in the SDL_SendTouchMotion function
in src/events/SDL_touch.c around line 400.
Judging from the rest of the code, there's a missing
if (!touch) {
return 0;
}
before using "touch" as SDL_GetFinger(), SDL_GetFingerIndexId() use
touch->num_fingers without checking.
I can attach a patch if you like. It seems pretty straightforward, though.
I have yet to discover why touch is being returned as NULL as this error is
only triggered when an actual gesture has been performed, maybe something
related to SDL_AddTouch()?
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 28 Jan 2011 10:21:58 -0800 |
parents | 5df0c142db9b |
children | 1435f8a6425c |
rev | line source |
---|---|
5106
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 This is a list of the platforms SDL supports, and who maintains them. |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 Officially supported platforms |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 ============================== |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 (code compiles, and thoroughly tested for release) |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 ============================== |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 Windows XP |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 Windows Vista |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 Windows 7 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 Mac OS X 10.4+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 Linux 2.6+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 iOS 3.2+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 Android 1.6+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 Unofficially supported platforms |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 ================================ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 (code compiles, but not thoroughly tested) |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 ================================ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 Windows CE |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 FreeBSD |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
22 NetBSD |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 OpenBSD |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 Solaris |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
26 Platforms supported by volunteers |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 ================================= |
5111
5df0c142db9b
Scott Smith volunteered to maintain the Pandora port.
Sam Lantinga <slouken@libsdl.org>
parents:
5106
diff
changeset
|
28 Pandora - maintained by Scott Smith <pickle136@sbcglobal.net> |
5106
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
29 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
30 Platforms that need maintainers |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
31 =============================== |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
32 Nintendo DS |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
33 QNX |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
34 Haiku |