aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 19:32:14 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 19:32:14 +0000
commit08bc50854b9b9c4f6ceba18433da3f1c3f58385e (patch)
treece96f1e3e2a94eaacc91c6560a18c70ca801c430 /src
parent3aad3b01afc77993ff051c02e49186294e312980 (diff)
Fix ES2 context init.
R=robertphillips@google.com Review URL: https://codereview.chromium.org/23534045 git-svn-id: http://skia.googlecode.com/svn/trunk@11088 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/gl/android/SkNativeGLContext_android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/android/SkNativeGLContext_android.cpp b/src/gpu/gl/android/SkNativeGLContext_android.cpp
index 9599647e1d..4b8612c521 100644
--- a/src/gpu/gl/android/SkNativeGLContext_android.cpp
+++ b/src/gpu/gl/android/SkNativeGLContext_android.cpp
@@ -68,7 +68,7 @@ const GrGLInterface* SkNativeGLContext::createGLContext() {
if (!apiBound) {
apiBound = eglBindAPI(EGL_OPENGL_ES_API);
- renderableTypeBit = EGL_OPENGL_ES_BIT;
+ renderableTypeBit = EGL_OPENGL_ES2_BIT;
contextAttribs = kEGLContextAttribsForOpenGLES;
}