diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-28 00:00:08 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-28 00:00:08 +0000 |
commit | 3070a581fca624a953a969c91cee34a4f9302610 (patch) | |
tree | c05cf62af2b09f452db0592e44cfcf2833f0cc73 /src/egl/drivers/dri/egldri.h | |
parent | d548bf41d3a0fe443494f94f745d1fe49e5e432c (diff) | |
download | external_mesa3d-3070a581fca624a953a969c91cee34a4f9302610.zip external_mesa3d-3070a581fca624a953a969c91cee34a4f9302610.tar.gz external_mesa3d-3070a581fca624a953a969c91cee34a4f9302610.tar.bz2 |
Lots of fixes, clean-ups, new comments, etc.
To set the FBdev video mode, need to add a \n char to the string.
Diffstat (limited to 'src/egl/drivers/dri/egldri.h')
-rw-r--r-- | src/egl/drivers/dri/egldri.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/drivers/dri/egldri.h b/src/egl/drivers/dri/egldri.h index 4573c50..5881196 100644 --- a/src/egl/drivers/dri/egldri.h +++ b/src/egl/drivers/dri/egldri.h @@ -36,18 +36,18 @@ typedef struct dri_display void *driverPrivate; drm_magic_t magic; - __GLcontextModes *driver_modes; __DRIscreen driScreen; } driDisplay; + /** * dri driver-specific screen class derived from _EGLScreen */ typedef struct dri_screen { _EGLScreen Base; - char fb[NAME_MAX]; + char fb[NAME_MAX]; /** the screen name, like "fb0" */ } driScreen; @@ -108,6 +108,6 @@ extern EGLBoolean _eglDRIShowSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScr extern EGLBoolean _eglDRIInitialize(_EGLDriver *drv, EGLDisplay dpy, EGLint *major, EGLint *minor); extern EGLBoolean _eglDRIGetDisplayInfo(driDisplay *dpy); extern EGLBoolean _eglDRICreateDisplay(driDisplay *dpy, __DRIframebuffer *framebuffer); -extern EGLBoolean _eglDRICreateScreen(driDisplay *dpy); +extern EGLBoolean _eglDRICreateScreens(driDisplay *dpy); #endif /* EGLDRI_INCLUDED */ |