diff options
| author | 2010-08-19 17:01:19 -0700 | |
|---|---|---|
| committer | 2010-08-24 15:40:50 -0700 | |
| commit | e96aa3e859cb747e241dfa2999fcd142a688ed57 (patch) | |
| tree | 8b725f12dd84b37345eebaa40951bc401b2e0a3f /services/surfaceflinger/LayerBlur.cpp | |
| parent | 0c76c7c5eedf90b5fa1a95b6a9944b4e58747007 (diff) | |
fix [2931513] Add support for setting the orientation of an ANativeWindow
Also implement support for cropping.
Change-Id: Iba5888dd242bf2feaac9e9ce26e404c1f404c280
Diffstat (limited to 'services/surfaceflinger/LayerBlur.cpp')
| -rw-r--r-- | services/surfaceflinger/LayerBlur.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBlur.cpp b/services/surfaceflinger/LayerBlur.cpp index 64a43c78f446..2ee21b92b531 100644 --- a/services/surfaceflinger/LayerBlur.cpp +++ b/services/surfaceflinger/LayerBlur.cpp @@ -241,6 +241,8 @@ void LayerBlur::onDraw(const Region& clip) const glDrawArrays(GL_TRIANGLE_FAN, 0, 4); } glDisableClientState(GL_TEXTURE_COORD_ARRAY); + glLoadIdentity(); + glMatrixMode(GL_MODELVIEW); } } |