summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-12-14 18:38:36 -0800
committerMathias Agopian <mathias@google.com>2010-12-14 18:38:36 -0800
commit04a709e459db6f15c04b00bcd3b030c90ca52949 (patch)
tree1a5ca2de0014263c25d0410c589783058151afdc
parente56092d5c9e2da914ffe2faa6699df9f70f9d43c (diff)
downloadframeworks_base-04a709e459db6f15c04b00bcd3b030c90ca52949.zip
frameworks_base-04a709e459db6f15c04b00bcd3b030c90ca52949.tar.gz
frameworks_base-04a709e459db6f15c04b00bcd3b030c90ca52949.tar.bz2
fix debug.sf.showbackground
Change-Id: Ie4eeca006ad6d8030900d8cb0029e4d1c22474fb
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 61d08aa..a6b1422 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -1023,6 +1023,8 @@ void SurfaceFlinger::drawWormhole() const
glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
}
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
+ glLoadIdentity();
+ glMatrixMode(GL_MODELVIEW);
}
}