diff options
| author | 2009-07-09 17:35:26 -0700 | |
|---|---|---|
| committer | 2009-07-09 17:35:26 -0700 | |
| commit | 2521f47c4d45a4d02c3a9f608c73de744c8b44f6 (patch) | |
| tree | 9e275ab9169b8895ac927cdb836a2fd53461c66c /opengl/libagl/egl.cpp | |
| parent | 6ee4f3543ffe786f1fb2f0003a0361664b919a68 (diff) | |
| parent | 7278a129fc7028241e579dff199e76c683e615c7 (diff) | |
am 46e28db8: Merge change 6713 into donut
Merge commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6'
* commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6':
fix for [1969185] valgrind errors in new gl stuff
Diffstat (limited to 'opengl/libagl/egl.cpp')
| -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 0fc934f0d5..6f6656a4d2 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -1494,7 +1494,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++) { |