diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2009-07-29 14:57:05 -0700 |
|---|---|---|
| committer | Jean-Baptiste Queru <jbq@google.com> | 2009-07-29 14:57:05 -0700 |
| commit | 61e4248f8f6ae8a8f40550cc0800e5190cd1dc09 (patch) | |
| tree | 07d964042985825b97f51b3744977c25b685b2f1 /opengl/libagl | |
| parent | 2af1b3db3d4f687d008db74b150f149e956b4bc6 (diff) | |
| parent | a8675f67e33bc7337d148358783b0fd138b501ff (diff) | |
| download | frameworks_base-61e4248f8f6ae8a8f40550cc0800e5190cd1dc09.zip frameworks_base-61e4248f8f6ae8a8f40550cc0800e5190cd1dc09.tar.gz frameworks_base-61e4248f8f6ae8a8f40550cc0800e5190cd1dc09.tar.bz2 | |
merge from donut
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++) { |
