diff options
Diffstat (limited to 'drv/fb/fbgc.c')
-rw-r--r-- | drv/fb/fbgc.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drv/fb/fbgc.c b/drv/fb/fbgc.c index 6f816d0c3..6471a8833 100644 --- a/drv/fb/fbgc.c +++ b/drv/fb/fbgc.c @@ -30,6 +30,16 @@ //#include "imped.h" +const DrvGCFuncs drvfbGCFuncs = { + drvfbValidateGC, + drvmiChangeGC, + drvmiCopyGC, + drvmiDestroyGC, + drvmiChangeClip, + drvmiDestroyClip, + drvmiCopyClip, +}; + const DrvGCOps drvfbGCOps = { drvfbFillSpans, drvfbSetSpans, @@ -51,13 +61,13 @@ const DrvGCOps drvfbGCOps = { drvfbImageGlyphBlt, drvfbPolyGlyphBlt, drvfbPushPixels, - drvfbValidateGC, }; Bool drvfbCreateGC(DrvGCPtr pGC) { pGC->ops = (DrvGCOps *) &drvfbGCOps; + pGC->funcs = (DrvGCOps *) &drvfbGCFuncs; drvfbGetGCPrivate(pGC)->bpp = BitsPerPixel (pGC->depth); return TRUE; } |