diff options
author | Chia-I Wu <[email protected]> | 2009-09-25 22:54:34 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-29 08:10:47 -0600 |
commit | 358c5a8fd1d518930c3e87316a2c743a661ac553 (patch) | |
tree | 4512d0167ce7a3e478885fde2c1126ee14149c7e /src/egl/drivers/demo | |
parent | 7cda8ea44c2b65265cefa79bd29a4990ac81cee6 (diff) |
egl: Introduce config keys.
Config keys are almost config attributes. A valid config attribute is a
valid config key, but a valid config key may not be a valid config
attribute.
This commit does not distinguish the differences.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/drivers/demo')
-rw-r--r-- | src/egl/drivers/demo/demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/demo/demo.c b/src/egl/drivers/demo/demo.c index aea4894448b..0933c0bdaa5 100644 --- a/src/egl/drivers/demo/demo.c +++ b/src/egl/drivers/demo/demo.c @@ -177,7 +177,7 @@ demoCreatePixmapSurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, Nat } } - if (conf->Attrib[EGL_SURFACE_TYPE - FIRST_ATTRIB] == 0) { + if (GET_CONFIG_ATTRIB(conf, EGL_SURFACE_TYPE) == 0) { _eglError(EGL_BAD_MATCH, "eglCreatePixmapSurface"); return NULL; } |