rwops: Rename everything from SDL_RWxxx to SDL_XxxRW.

This commit is contained in:
Ryan C. Gordon 2024-03-12 16:01:59 -04:00
parent 655ceb3b31
commit 7d4d8ccde0
No known key found for this signature in database
GPG key ID: FA148B892AB48044
18 changed files with 271 additions and 226 deletions

View file

@ -139,7 +139,7 @@ int main(int argc, char **argv)
SDL_WriteU16LE(io, (Uint16)bitsize); /* significant bits per sample */
SDL_WriteU32LE(io, 0x61746164); /* data */
SDL_WriteU32LE(io, dst_len); /* size */
SDL_RWwrite(io, dst_buf, dst_len);
SDL_WriteRW(io, dst_buf, dst_len);
if (SDL_CloseRW(io) == -1) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "closing '%s' failed: %s\n", file_out, SDL_GetError());