Fix GC issues on iOS 15 with iPhone 12
https://github.com/HaxeFoundation/hxcpp/issues/969#issuecomment-941127280
This commit is contained in:
committed by
Joshua Granick
parent
2750cf5011
commit
ed3686661a
@@ -116,6 +116,13 @@ namespace lime {
|
|||||||
|
|
||||||
void SDLApplication::HandleEvent (SDL_Event* event) {
|
void SDLApplication::HandleEvent (SDL_Event* event) {
|
||||||
|
|
||||||
|
#if defined(IPHONE) || defined(EMSCRIPTEN)
|
||||||
|
|
||||||
|
int top = 0;
|
||||||
|
gc_set_top_of_stack(&top,false);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (event->type) {
|
switch (event->type) {
|
||||||
|
|
||||||
case SDL_USEREVENT:
|
case SDL_USEREVENT:
|
||||||
|
|||||||
Reference in New Issue
Block a user