projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
181f2b9
)
init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 24 Nov 2005 03:41:56 +0000
(
03:41
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 24 Nov 2005 03:41:56 +0000
(
03:41
+0000)
src/egl/main/eglconfig.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglconfig.c
b/src/egl/main/eglconfig.c
index 1e1f88bf5f13c7ec21dd55b0ffcbf1f827001063..ab141dc1286b426a0247acc5da238b6ddfffcb38 100644
(file)
--- a/
src/egl/main/eglconfig.c
+++ b/
src/egl/main/eglconfig.c
@@
-147,7
+147,10
@@
_eglParseConfigAttribs(_EGLConfig *config, const EGLint *attrib_list)
{
EGLint i;
- /* XXX set all config attribs to EGL_DONT_CARE */
+ /* set all config attribs to EGL_DONT_CARE */
+ for (i = 0; i < MAX_ATTRIBS; i++) {
+ config->Attrib[i] = EGL_DONT_CARE;
+ }
for (i = 0; attrib_list && attrib_list[i] != EGL_NONE; i++) {
EGLint k = attrib_list[i] - FIRST_ATTRIB;