diff options
author | Brian Paul <[email protected]> | 2008-05-30 13:45:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-30 13:45:40 -0600 |
commit | d5078b94323241a6482f54797756116b1c864327 (patch) | |
tree | 7d5d96198eb770a9c24b6425d0ec53dc266cafb9 /src/egl/main/egldriver.c | |
parent | 52676207e338b4c2b4953747521921ab79d70f06 (diff) |
egl: clean-up re-org of the client API state
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index e155f5fb982..681be472027 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -97,12 +97,12 @@ _eglChooseDriver(_EGLDisplay *dpy) if (driverName) return _eglstrdup(driverName); - +#if 0 if (!displayString) { /* choose a default */ displayString = DefaultDriverName; } - +#endif /* extract default DriverArgs = whatever follows ':' */ if (displayString && (displayString[0] == '!' || @@ -192,6 +192,9 @@ _eglOpenDriver(_EGLDisplay *dpy, const char *driverName, const char *args) else dlclose(lib); + /* update the global notion of supported APIs */ + _eglGlobal.ClientAPIsMask |= drv->ClientAPIsMask; + return drv; } |