mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()
This commit is contained in:
parent
181f2b92cb
commit
ff707ead2b
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue