diff options
author | Chia-I Wu <[email protected]> | 2010-10-23 02:11:21 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-23 11:20:41 +0800 |
commit | 37213ceacc2d7b309de7641da501282f8f24c8c2 (patch) | |
tree | acc58a71199726a4c0457c5e9bc842efe54c37cb /src/gallium/state_trackers | |
parent | 8a6bdf3979c2dda0efc6771308bf9e5c32bbdab4 (diff) |
egl: Minor changes to the _EGLScreen interface.
Make _eglInitScreen take a display and rename _eglAddScreen to
_eglLinkScreen. Remove unused functions.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index 8999b86e9b9..772c65daf50 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d.c @@ -126,7 +126,7 @@ egl_g3d_add_screens(_EGLDriver *drv, _EGLDisplay *dpy) continue; } - _eglInitScreen(&gscr->base); + _eglInitScreen(&gscr->base, dpy); for (j = 0; j < num_modes; j++) { const struct native_mode *nmode = native_modes[j]; @@ -143,7 +143,7 @@ egl_g3d_add_screens(_EGLDriver *drv, _EGLDisplay *dpy) gscr->native = nconn; gscr->native_modes = native_modes; - _eglAddScreen(dpy, &gscr->base); + _eglLinkScreen(&gscr->base); } FREE(native_connectors); |