Skip to contentSkip to conversation

small typo in nouveau_dri2_init() ~ xf86-video-nouveau

PATCH Kyle K 1 participant 1 message Jul 10, 2009

lore
Share & tools
lore

Kyle K

author
#0 lore raw

There seems to be a small change in dri2.h that prevented me from compiling the xf86-video-nouveau :(

commit f0ddf3f4ec89e627d87e5a69f3de3fb9386c7d5c

Author: Kamil Kaminski <[email protected]>
Date:   Fri Jul 10 00:38:40 2009 -0700

fix a typo in nouveau_dri2_init()

src/nouveau_dri2.c +2 -2
index 2ed4557..6ba84cf 100644
@@ -199,8 +199,8 @@ nouveau_dri2_init(ScreenPtr pScreen)
 	dri2.fd = nouveau_device(pNv->dev)->fd;
 	dri2.driverName = "nouveau";
 	dri2.deviceName = pNv->drm_device_name;
-	dri2.CreateBuffers = nouveau_dri2_create_buffers;
-	dri2.DestroyBuffers = nouveau_dri2_destroy_buffers;
+	dri2.CreateBuffer = nouveau_dri2_create_buffers;
+	dri2.DestroyBuffer = nouveau_dri2_destroy_buffers;
 	dri2.CopyRegion = nouveau_dri2_copy_region;
 
 	return DRI2ScreenInit(pScreen, &dri2);

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau