[SDL] Bug: UIKit (iOS) version should NOT be calling Pump Events (iOS Multitasking related)

Brian Barnes ggadwa at charter.net
Thu Mar 22 08:21:29 PDT 2012


Piotr's solution (which is already a patch which he says he'll release a 
new version) handles all this, so I say we go with it.  Making ALL the 
events callbacks would be ill advised (IMHO).

The fact remains that this is going to end up being VERY OS specific. 
There's no ifs, ands, or buts, and therefore the solution is going to 
end up being some specific callback IDs.

Piotr, maybe you should make sure to put iOS or something similiar in 
your callback #define IDs as some will end up being specific, and 
Android (or something) in your android ones (I don't know enough about 
this to comment) -- unless you already did! :)

I see, to get everything in iOS up-to-date, we need two things:

1) Piotr's newest patch
2) Removal of any invisible pump events in the uikit sources

Everything else can work as it has before.  THIS is important as the 
whole point of SDL is so you don't have to write a lot of platform 
specific code.  This is just a case where there's no way around it.

[>] Brian




More information about the SDL mailing list