diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-19 17:17:18 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-19 17:17:18 +0000 |
commit | 26bb7bc0253cf557cbb98f1f0ecaa28e7067e6f5 (patch) | |
tree | 4fb81bfb8a974d4026d214cd606c275fb19262cc /src/mesa/drivers/dri/fb/fb_egl.c | |
parent | 67074332728acba86da7630353673b458713bb8a (diff) | |
download | external_mesa3d-26bb7bc0253cf557cbb98f1f0ecaa28e7067e6f5.zip external_mesa3d-26bb7bc0253cf557cbb98f1f0ecaa28e7067e6f5.tar.gz external_mesa3d-26bb7bc0253cf557cbb98f1f0ecaa28e7067e6f5.tar.bz2 |
compilation fixes, don't know if runtime works
Diffstat (limited to 'src/mesa/drivers/dri/fb/fb_egl.c')
-rw-r--r-- | src/mesa/drivers/dri/fb/fb_egl.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c index 05148b4..1b38b26 100644 --- a/src/mesa/drivers/dri/fb/fb_egl.c +++ b/src/mesa/drivers/dri/fb/fb_egl.c @@ -83,7 +83,14 @@ typedef struct fb_context { _EGLContext Base; /* base class/object */ GLcontext *glCtx; -} fbContext; + struct { + __DRIcontextPrivate *context; + __DRIscreenPrivate *screen; + __DRIdrawablePrivate *drawable; /* drawable bound to this ctx */ + } dri; +} fbContext, *fbContextPtr; + +#define FB_CONTEXT(ctx) ((fbContextPtr)(ctx->DriverCtx)) static EGLBoolean |