Skip to content

Commit 7dddbed

Browse files
committed
cmake/test/main.c: Updated for new SDL3_mixer API.
1 parent 4c5f855 commit 7dddbed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/test/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ int main(int argc, char *argv[])
88
SDL_Log("SDL_Init: could not initialize SDL: %s\n", SDL_GetError());
99
return 1;
1010
}
11-
if (Mix_Init(0) == 0) {
12-
SDL_Log("Mix_Init: no sound/music loaders supported (%s)\n", SDL_GetError());
11+
if (MIX_Init() == 0) {
12+
SDL_Log("MIX_Init: no sound/music loaders supported (%s)\n", SDL_GetError());
1313
}
14-
Mix_Quit();
14+
MIX_Quit();
1515
SDL_Quit();
1616
return 0;
1717
}

0 commit comments

Comments
 (0)