diff options
| author | 2009-07-09 17:33:15 -0700 | |
|---|---|---|
| committer | 2009-07-09 17:33:15 -0700 | |
| commit | dacd7a33c458240355c4b22dcc82809241447ab8 (patch) | |
| tree | 1113f0de99da4f81d888806fb5bd406ff21ba086 /opengl/libagl/egl.cpp | |
| parent | 5fac82d6ec6c94974dc2784d84b965180d15e3c8 (diff) | |
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 c44478db83..44615679af 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++) { |