fix android main loop, scale font texture
This commit is contained in:
@@ -1110,7 +1110,7 @@ void android_main(struct android_app* state) {
|
||||
// If animating, we loop until all events are read, then continue
|
||||
// to draw the next frame of animation.
|
||||
bool used = false;
|
||||
int timeout = g_engine.display != EGL_NO_DISPLAY ? 0 : -1;
|
||||
int timeout = -1;//g_engine.display != EGL_NO_DISPLAY ? 0 : -1;
|
||||
while (!used && (ident=ALooper_pollOnce(timeout, NULL, &events,
|
||||
(void**)&source)) != ALOOPER_POLL_ERROR) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user