StopMusicStream takes pointer
This commit is contained in:
parent
75c3fe14e5
commit
afeb146582
1 changed files with 13 additions and 17 deletions
|
|
@ -70,7 +70,7 @@ int main(void)
|
|||
// Restart music playing (stop and play)
|
||||
if (IsKeyPressed(KEY_SPACE))
|
||||
{
|
||||
StopMusicStream(xm);
|
||||
StopMusicStream(&xm);
|
||||
PlayMusicStream(xm);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue