diff options
| author | 2010-12-14 18:38:36 -0800 | |
|---|---|---|
| committer | 2010-12-14 18:38:36 -0800 | |
| commit | 04a709e459db6f15c04b00bcd3b030c90ca52949 (patch) | |
| tree | 1a5ca2de0014263c25d0410c589783058151afdc | |
| parent | e56092d5c9e2da914ffe2faa6699df9f70f9d43c (diff) | |
fix debug.sf.showbackground
Change-Id: Ie4eeca006ad6d8030900d8cb0029e4d1c22474fb
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 61d08aabdc20..a6b14225f103 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); } } |