Updated Android project template
This commit is contained in:
parent
d32feaa668
commit
3a739c38c5
1 changed files with 23 additions and 9 deletions
|
|
@ -43,7 +43,9 @@ void android_main(struct android_app *app)
|
|||
|
||||
int framesCounter = 0; // Used to count frames
|
||||
|
||||
//SetTargetFPS(60); // Not required on Android, already locked to 60 fps
|
||||
PlayMusicStream("ambient.ogg");
|
||||
|
||||
SetTargetFPS(60); // Not required on Android, already locked to 60 fps
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
// Main game loop
|
||||
|
|
@ -51,6 +53,8 @@ void android_main(struct android_app *app)
|
|||
{
|
||||
// Update
|
||||
//----------------------------------------------------------------------------------
|
||||
UpdateMusicStream();
|
||||
|
||||
switch(currentScreen)
|
||||
{
|
||||
case LOGO:
|
||||
|
|
|
|||
Loading…
Reference in a new issue