Can now have multiple Music objects like other Raylib objects instead of just one.
This commit is contained in:
@@ -65,15 +65,11 @@ int main( int argn, const char **argc ) {
|
||||
if ( WindowShouldClose() ) {
|
||||
state->run = false;
|
||||
}
|
||||
if ( IsAudioDeviceReady() ) {
|
||||
UpdateMusicStream( state->music );
|
||||
}
|
||||
luaCallProcess();
|
||||
luaCallDraw();
|
||||
}
|
||||
luaCallExit();
|
||||
}
|
||||
|
||||
stateFree();
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user