summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri/egldri.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-28 00:00:08 +0000
committerBrian Paul <[email protected]>2005-11-28 00:00:08 +0000
commit3070a581fca624a953a969c91cee34a4f9302610 (patch)
treec05cf62af2b09f452db0592e44cfcf2833f0cc73 /src/egl/drivers/dri/egldri.h
parentd548bf41d3a0fe443494f94f745d1fe49e5e432c (diff)
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/drivers/dri/egldri.h b/src/egl/drivers/dri/egldri.h
index 4573c50ea6a..5881196043c 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 */