commit | 41b61c824c60996fe31d1331aadeea3a3a485ef6 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Thu Oct 15 15:40:54 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Thu Oct 15 15:40:54 2009 -0700 |
tree | 1957681dfe15f340d72d58f7850e18ae81735edd | |
parent | b52dfa066d602c2a7304180690c47010dc4fce76 [diff] [blame] |
Implement workaround for GL driver which is slow to render the first frame with new state. This change will render a transparent frame when receiving new state to warm the driver.
diff --git a/res/raw/rollo4.c b/res/raw/rollo4.c index ac158de..b0ea5b0 100644 --- a/res/raw/rollo4.c +++ b/res/raw/rollo4.c
@@ -82,6 +82,9 @@ g_Zoom = 0; } +void resetHWWar() { +} + void move() { if (g_LastTouchDown) { float dx = -(state->newPositionX - g_LastPositionX);