Merge "Fix regression in master. The attempt to remove the last frame hack in all apps caused home to sometimes render black upon returning from an application."

This commit is contained in:
Jason Sams
2010-05-18 17:07:49 -07:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 1 deletions
+5 -1
View File
@@ -79,8 +79,12 @@ static int g_Rows;
static int g_DrawLastFrame;
static int lastFrame(int draw) {
// We draw one extra frame to work around the last frame post bug.
// We also need to track if we drew the last frame to deal with large DT
// in the physics.
int ret = g_DrawLastFrame | draw;
g_DrawLastFrame = draw;
return draw;
return ret;//draw;
}
static void updateReadback() {
Binary file not shown.