浏览代码

Gestures system is automatically Init and Updated

pull/69/head
raysan5 9 年前
父节点
当前提交
46ea556593
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. +1
    -4
      templates/android_project/jni/basic_game.c

+ 1
- 4
templates/android_project/jni/basic_game.c 查看文件

@ -32,7 +32,6 @@ void android_main(struct android_app *app)
GameScreen currentScreen = LOGO;
InitWindow(screenWidth, screenHeight, app);
InitGesturesSystem(app);
// TODO: Initialize all required variables and load all required data here!
@ -51,7 +50,7 @@ void android_main(struct android_app *app)
while (!WindowShouldClose()) // Detect window close button or ESC key
{
// Update
//----------------------------------------------------------------------------------
//----------------------------------------------------------------------------------
switch(currentScreen)
{
case LOGO:
@ -101,8 +100,6 @@ void android_main(struct android_app *app)
} break;
default: break;
}
UpdateGestures();
//----------------------------------------------------------------------------------
// Draw

正在加载...
取消
保存