summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/RenderEngine
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2013-08-15 10:39:11 -0700
committerAndy McFadden <fadden@android.com>2013-08-15 10:39:11 -0700
commit6db4ff621898573b41abf570271a04a13bd36a69 (patch)
tree9275ab37a0242876278d23818535fb2e2774d10f /services/surfaceflinger/RenderEngine
parent892f22dcb96927b4a4f9ab7badd6f2c9f4f37c1f (diff)
downloadframeworks_native-6db4ff621898573b41abf570271a04a13bd36a69.zip
frameworks_native-6db4ff621898573b41abf570271a04a13bd36a69.tar.gz
frameworks_native-6db4ff621898573b41abf570271a04a13bd36a69.tar.bz2
Disable GLES 2.x rendering
Bug 10340705 Change-Id: I91f3baf0d79655d8d031c100d0b116f745c2fbef
Diffstat (limited to 'services/surfaceflinger/RenderEngine')
-rw-r--r--services/surfaceflinger/RenderEngine/RenderEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/RenderEngine/RenderEngine.cpp b/services/surfaceflinger/RenderEngine/RenderEngine.cpp
index ee51bd9..dc9cf4c 100644
--- a/services/surfaceflinger/RenderEngine/RenderEngine.cpp
+++ b/services/surfaceflinger/RenderEngine/RenderEngine.cpp
@@ -42,7 +42,7 @@ RenderEngine* RenderEngine::create(EGLDisplay display, EGLConfig config) {
EGL_NONE, EGL_NONE
};
- EGLContext ctxt = eglCreateContext(display, config, NULL, contextAttributes);
+ EGLContext ctxt = EGL_NO_CONTEXT; // eglCreateContext(display, config, NULL, contextAttributes);
if (ctxt == EGL_NO_CONTEXT) {
// maybe ES 2.x is not supported
ALOGW("can't create an ES 2.x context, trying 1.x");