Skip to content

Commit

Permalink
Moved everything over to SDL_stdinc.h
Browse files Browse the repository at this point in the history
Now (with the exception of a rand() I haven't sorted out) nothing in this
library requires the standard C runtime; it can get everything it needs from
SDL2 directly.
  • Loading branch information
icculus committed Jul 15, 2018
1 parent 484cd01 commit 31028a7
Show file tree
Hide file tree
Showing 49 changed files with 1,122 additions and 1,411 deletions.
2 changes: 1 addition & 1 deletion mixer/mixercore.c
Expand Up @@ -94,7 +94,7 @@ static inline void run_pre_mix(void)
if (premixer)
premixer(mixbuf, mixbufsize);
else /* !!! FIXME: Do memset in another thread after mix is done. */
memset(mixbuf, '\0', mixbufsize * sizeof (float) * 2);
SDL_memset(mixbuf, '\0', mixbufsize * sizeof (float) * 2);
} /* run_pre_mix */


Expand Down

0 comments on commit 31028a7

Please sign in to comment.