commit | 02f54246f55f0ef4263f91062d350876ade5dd78 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Wed Jul 29 14:25:07 2009 -0700 |
committer | Jean-Baptiste Queru <jbq@google.com> | Wed Jul 29 14:25:07 2009 -0700 |
tree | 11203fd1998828f47f97f07de1114a0f54790a39 | |
parent | 4d3b5c1e36f2a3746a1c87f8af97d4fe97e8f49e [diff] |
donut snapshot
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 @@ 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;