diff options
| author | Mathias Agopian <mathias@google.com> | 2009-07-09 17:33:15 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2009-07-09 17:33:15 -0700 |
| commit | ab1cf3efd3b884a90170a82744f7ae508d51cf6e (patch) | |
| tree | b973a089ed862e2816e14386ee41c2e03a5567c5 /opengl/libs | |
| parent | 4af0a709ee08e8ae43f49d8fc5c9cae142aaf2c4 (diff) | |
| download | frameworks_base-ab1cf3efd3b884a90170a82744f7ae508d51cf6e.zip frameworks_base-ab1cf3efd3b884a90170a82744f7ae508d51cf6e.tar.gz frameworks_base-ab1cf3efd3b884a90170a82744f7ae508d51cf6e.tar.bz2 | |
fix for [1969185] valgrind errors in new gl stuff
Diffstat (limited to 'opengl/libs')
| -rw-r--r-- | opengl/libs/EGL/egl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp index de323b3..c6e0f50 100644 --- a/opengl/libs/EGL/egl.cpp +++ b/opengl/libs/EGL/egl.cpp @@ -799,7 +799,7 @@ EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, EGLint patch_index = -1; GLint attr; size_t size = 0; - while ((attr=attrib_list[size])) { + while ((attr=attrib_list[size]) != EGL_NONE) { if (attr == EGL_CONFIG_ID) patch_index = size; size += 2; |
