summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL
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
commit863e5fdde858d732ac76320369b6304599f23b4c (patch)
treeb8d374db3d255ee24a6884167238ad8955bd722b /opengl/libs/EGL
parentdf2d92940550bc68c3c237937bce7ac16d9fa91b (diff)
downloadframeworks_native-863e5fdde858d732ac76320369b6304599f23b4c.zip
frameworks_native-863e5fdde858d732ac76320369b6304599f23b4c.tar.gz
frameworks_native-863e5fdde858d732ac76320369b6304599f23b4c.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')
-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();
}