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/libagl | |
| 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/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++) { |
