summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglconfig.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-17 02:13:00 +0000
committerBrian Paul <[email protected]>2005-05-17 02:13:00 +0000
commit4c80f8df46e6c70c9954364609cd0103030fa2a6 (patch)
tree9019ea2d70b44be91c258de32d73645e1f4c2d9a /src/egl/main/eglconfig.h
parente03b5cdf3fb4dafe565c06179124644e218e9cde (diff)
more work on _eglConfigToContextModesRec()
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 3ec8a757748..f311e0702ac 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 */