Fix Emscripten
This commit is contained in:
@@ -679,7 +679,6 @@ namespace lime {
|
||||
|
||||
Window* targetWindow = (Window*)(intptr_t)val_float (window);
|
||||
targetWindow->Close ();
|
||||
delete targetWindow;
|
||||
return alloc_null ();
|
||||
|
||||
}
|
||||
|
||||
@@ -467,6 +467,13 @@ namespace lime {
|
||||
}
|
||||
|
||||
|
||||
void SDLApplication::UpdateFrame () {
|
||||
|
||||
currentApplication->Update ();
|
||||
|
||||
}
|
||||
|
||||
|
||||
void SDLApplication::UpdateFrame (void*) {
|
||||
|
||||
currentApplication->Update ();
|
||||
|
||||
@@ -40,7 +40,9 @@ namespace lime {
|
||||
void ProcessTouchEvent (SDL_Event* event);
|
||||
void ProcessWindowEvent (SDL_Event* event);
|
||||
|
||||
static void UpdateFrame ();
|
||||
static void UpdateFrame (void*);
|
||||
|
||||
static SDLApplication* currentApplication;
|
||||
|
||||
bool active;
|
||||
|
||||
Reference in New Issue
Block a user