From 02f54246f55f0ef4263f91062d350876ade5dd78 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Wed, 29 Jul 2009 14:25:07 -0700 Subject: donut snapshot --- opengl/libagl/egl.cpp | 2 +- opengl/libs/EGL/egl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'opengl') 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 const*)attrib_list, - 0, numAttributes, + 0, numAttributes-1, config_defaults[j].key) < 0) { for (int i=0 ; i