summaryrefslogtreecommitdiff
path: root/src/egl/main/eglconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglconfig.h')
-rw-r--r--src/egl/main/eglconfig.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl/main/eglconfig.h b/src/egl/main/eglconfig.h
index 3ec8a75774..f311e0702a 100644
--- a/src/egl/main/eglconfig.h
+++ b/src/egl/main/eglconfig.h
@@ -18,7 +18,7 @@ struct _egl_config
};
-
+#define SET_CONFIG_ATTRIB(CONF, ATTR, VAL) ((CONF)->Attrib[(ATTR) - FIRST_ATTRIB] = VAL)
#define GET_CONFIG_ATTRIB(CONF, ATTR) ((CONF)->Attrib[(ATTR) - FIRST_ATTRIB])
@@ -69,4 +69,8 @@ _eglFillInConfigs( _EGLConfig *configs,
const GLenum * db_modes, unsigned num_db_modes,
int visType );
+extern void
+_eglConfigToContextModesRec(const _EGLConfig *config, __GLcontextModes *mode);
+
+
#endif /* EGLCONFIG_INCLUDED */