(Android) Remove unnecessary animating conditional block in gfx_ctx_check_window

This commit is contained in:
twinaphex 2012-10-30 06:36:38 +01:00
parent 1ff6175bd2
commit b204b55386
2 changed files with 0 additions and 12 deletions

View File

@ -370,8 +370,6 @@ static int32_t engine_handle_input(struct android_app* app, AInputEvent* event)
static void *android_input_init(void)
{
void *libandroid = 0;
g_android.app->onInputEvent = engine_handle_input;
pads_connected = 0;

View File

@ -141,22 +141,12 @@ static void gfx_ctx_check_window(bool *quit,
(void)height;
(void)frame_count;
gl_t *gl = driver.video_data;
*quit = false;
*resize = false;
// Check if we are exiting.
if (g_android.app->destroyRequested != 0 || g_android.init_quit)
*quit = true;
if (g_android.animating)
{
// Done with events; draw next animation frame.
g_android.state.angle += .01f;
if (g_android.state.angle > 1)
g_android.state.angle = 0;
}
}
static void gfx_ctx_clear(void)