diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-07-29 14:25:07 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-07-29 14:25:07 -0700 |
commit | 02f54246f55f0ef4263f91062d350876ade5dd78 (patch) | |
tree | 11203fd1998828f47f97f07de1114a0f54790a39 /opengl/libagl | |
parent | 4d3b5c1e36f2a3746a1c87f8af97d4fe97e8f49e (diff) | |
download | frameworks_native-02f54246f55f0ef4263f91062d350876ade5dd78.zip frameworks_native-02f54246f55f0ef4263f91062d350876ade5dd78.tar.gz frameworks_native-02f54246f55f0ef4263f91062d350876ade5dd78.tar.bz2 |
donut snapshot
Diffstat (limited to 'opengl/libagl')
-rw-r--r-- | opengl/libagl/egl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index c44478d..4461567 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -1103,7 +1103,7 @@ EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, // default value if (binarySearch<config_pair_t>( (config_pair_t const*)attrib_list, - 0, numAttributes, + 0, numAttributes-1, config_defaults[j].key) < 0) { for (int i=0 ; i<numConfigs ; i++) { |