mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-20 18:28:14 +00:00
Use C99 bool internally in SDL
This commit is contained in:
@@ -142,7 +142,7 @@ int Emscripten_UpdateWindowFramebuffer(SDL_VideoDevice *_this, SDL_Window *windo
|
||||
}, surface->w, surface->h, surface->pixels, data->canvas_id);
|
||||
/* *INDENT-ON* */ // clang-format on
|
||||
|
||||
if (emscripten_has_asyncify() && SDL_GetHintBoolean(SDL_HINT_EMSCRIPTEN_ASYNCIFY, SDL_TRUE)) {
|
||||
if (emscripten_has_asyncify() && SDL_GetHintBoolean(SDL_HINT_EMSCRIPTEN_ASYNCIFY, true)) {
|
||||
// give back control to browser for screen refresh
|
||||
emscripten_sleep(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user