diff options
| author | 2009-07-29 14:25:07 -0700 | |
|---|---|---|
| committer | 2009-07-29 14:25:07 -0700 | |
| commit | a8675f67e33bc7337d148358783b0fd138b501ff (patch) | |
| tree | 71fb9d10330ef9161b3ead71d01074b3ef9e53ba /opengl/libagl/egl.cpp | |
| parent | cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f (diff) | |
donut snapshot
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 c44478db83be..44615679af6d 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++) { |