diff options
| author | Ray <[email protected]> | 2016-11-24 17:26:07 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-11-24 17:26:07 +0100 |
| commit | 17f09cb03484a408cdd50a3d2e4d6604bb1f4c70 (patch) | |
| tree | 51e909c419de9625f1beaaca44696857a600e8d5 /templates/android_project/jni/basic_game.c | |
| parent | 05f68c22d5c8d8f7c4254ae47700318e21709887 (diff) | |
| parent | a81dfabf863c512044b246e23aaf43489d2fa1ac (diff) | |
| download | raylib-1.6.0.tar.gz raylib-1.6.0.zip | |
Merge pull request #198 from raysan5/develop1.6.0
Develop branch integration
Diffstat (limited to 'templates/android_project/jni/basic_game.c')
| -rw-r--r-- | templates/android_project/jni/basic_game.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/android_project/jni/basic_game.c b/templates/android_project/jni/basic_game.c index 4e8bef31..c801cbaa 100644 --- a/templates/android_project/jni/basic_game.c +++ b/templates/android_project/jni/basic_game.c @@ -37,14 +37,13 @@ void android_main(struct android_app *app) InitAudioDevice(); // Initialize audio device - Sound fx = LoadSound("coin.wav"); // Load WAV audio file (placed on assets folder) - Texture2D texture = LoadTexture("raylib_logo.png"); // Load texture (placed on assets folder) - int framesCounter = 0; // Used to count frames - + Sound fx = LoadSound("coin.wav"); // Load WAV audio file (placed on assets folder) Music ambient = LoadMusicStream("ambient.ogg"); PlayMusicStream(ambient); + + int framesCounter = 0; // Used to count frames SetTargetFPS(60); // Not required on Android, already locked to 60 fps //-------------------------------------------------------------------------------------- |
