diff options
| author | 2009-07-09 17:33:54 -0700 | |
|---|---|---|
| committer | 2009-07-09 17:33:54 -0700 | |
| commit | 7278a129fc7028241e579dff199e76c683e615c7 (patch) | |
| tree | d8b9615d58948064a578e0d25492608f17772632 /opengl/libagl/egl.cpp | |
| parent | e288fff39d163c1fa57bb7d29e8591f116976b8f (diff) | |
| parent | dacd7a33c458240355c4b22dcc82809241447ab8 (diff) | |
Merge change 6713 into donut
* changes:
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++) { |