mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00:00
use SDL's functions version inplace of libc version
This commit is contained in:
parent
35b7ce1893
commit
d31251b014
46 changed files with 114 additions and 124 deletions
|
@ -119,7 +119,7 @@ int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rec
|
|||
// }
|
||||
// the following code is faster though, because
|
||||
// .set() is almost free - easily 10x faster due to
|
||||
// native memcpy efficiencies, and the remaining loop
|
||||
// native SDL_memcpy efficiencies, and the remaining loop
|
||||
// just stores, not load + store, so it is faster
|
||||
data32.set(HEAP32.subarray(src, src + num));
|
||||
var data8 = SDL2.data8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue