diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-01-31 18:11:06 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-01-31 18:14:50 +0100 |
commit | a397b94e32e6b0109096aba09bbe7b5dcfdd8231 (patch) | |
tree | 98fd7981883a5903faf3490604b60bcfae662c43 | |
parent | 8b5c67145a9c29cd4c82f411f15e57723d76d0c0 (diff) | |
download | xorg-driver-xf86-video-nouveau-a397b94e32e6b0109096aba09bbe7b5dcfdd8231.tar.gz |
dri2: Fix for the new DRI2InfoRec ABI.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r-- | src/nouveau_dri2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 2388070..63f2840 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -166,6 +166,12 @@ nouveau_dri2_init(ScreenPtr pScreen) dri2.CreateBuffer = nouveau_dri2_create_buffer; dri2.DestroyBuffer = nouveau_dri2_destroy_buffer; dri2.CopyRegion = nouveau_dri2_copy_region; +#if DRI2INFOREC_VERSION >= 4 + dri2.ScheduleSwap = NULL; + dri2.ScheduleWaitMSC = NULL; + dri2.GetMSC = NULL; + dri2.numDrivers = 0; +#endif return DRI2ScreenInit(pScreen, &dri2); } |