summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-29 18:29:30 -0700
committerMathias Agopian <mathias@google.com>2009-10-30 14:48:50 -0700
commit0b0722f980f40e1ac0929a7f1a6e2df7af983478 (patch)
treef420562ab6642a7a4fa82e7db0443d10280ef4f2 /opengl/libs/EGL/egl.cpp
parentf007a2faa1d765e9b53553a8214179b253e3cbbd (diff)
downloadframeworks_base-0b0722f980f40e1ac0929a7f1a6e2df7af983478.zip
frameworks_base-0b0722f980f40e1ac0929a7f1a6e2df7af983478.tar.gz
frameworks_base-0b0722f980f40e1ac0929a7f1a6e2df7af983478.tar.bz2
fix[2222341] Soft reset while going back from camcorder settings
add a way to convert a mapped "pushbuffer" buffer to a gralloc handle which then can be safely used by surfaceflinger, without including gralloc_priv.h
Diffstat (limited to 'opengl/libs/EGL/egl.cpp')
-rw-r--r--opengl/libs/EGL/egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 5efecb0..c22c21b 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -1677,7 +1677,7 @@ EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target,
} else {
// In case of success, we need to clear all error flags
// (especially those caused by the implementation that didn't
- // succeed). TODO: we could about this if we knew this was
+ // succeed). TODO: we could avoid this if we knew this was
// a "full" success (all implementation succeeded).
eglGetError();
}