From dacd7a33c458240355c4b22dcc82809241447ab8 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 9 Jul 2009 17:33:15 -0700 Subject: fix for [1969185] valgrind errors in new gl stuff --- opengl/libagl/egl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/libagl/egl.cpp') 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 const*)attrib_list, - 0, numAttributes, + 0, numAttributes-1, config_defaults[j].key) < 0) { for (int i=0 ; i