diff options
author | Mathias Agopian <mathias@google.com> | 2013-08-07 21:24:32 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-08-13 16:07:45 -0700 |
commit | 3f84483382be2d528918cc1a6fbc6a7d68e0b181 (patch) | |
tree | 81de0907cd7d64eea68e50539b82dc9d70c9f793 /services/surfaceflinger/DisplayDevice.cpp | |
parent | 5ff5a84e4829bad9eb44cc9a32d8579ca089051b (diff) | |
download | frameworks_native-3f84483382be2d528918cc1a6fbc6a7d68e0b181.zip frameworks_native-3f84483382be2d528918cc1a6fbc6a7d68e0b181.tar.gz frameworks_native-3f84483382be2d528918cc1a6fbc6a7d68e0b181.tar.bz2 |
SurfaceFlinger now uses GLES 2.x when available
Bug: 8679321
Change-Id: I2b152d01fb4e2de2ea9fe87f1ddbd6826d7520d7
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.cpp')
-rw-r--r-- | services/surfaceflinger/DisplayDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index 8143227..79b6689 100644 --- a/services/surfaceflinger/DisplayDevice.cpp +++ b/services/surfaceflinger/DisplayDevice.cpp @@ -274,7 +274,7 @@ EGLBoolean DisplayDevice::makeCurrent(EGLDisplay dpy, EGLContext ctx) const { void DisplayDevice::setViewportAndProjection() const { size_t w = mDisplayWidth; size_t h = mDisplayHeight; - mFlinger->getRenderEngine().setViewportAndProjection(w, h); + mFlinger->getRenderEngine().setViewportAndProjection(w, h, w, h, false); } // ---------------------------------------------------------------------------- |