We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5f855 commit 7dddbedCopy full SHA for 7dddbed
cmake/test/main.c
@@ -8,10 +8,10 @@ int main(int argc, char *argv[])
8
SDL_Log("SDL_Init: could not initialize SDL: %s\n", SDL_GetError());
9
return 1;
10
}
11
- if (Mix_Init(0) == 0) {
12
- SDL_Log("Mix_Init: no sound/music loaders supported (%s)\n", SDL_GetError());
+ if (MIX_Init() == 0) {
+ SDL_Log("MIX_Init: no sound/music loaders supported (%s)\n", SDL_GetError());
13
14
- Mix_Quit();
+ MIX_Quit();
15
SDL_Quit();
16
return 0;
17
0 commit comments