From 4a486f8bf2ca3d88228f8313282289abe78bc2f8 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 23 Nov 2012 18:31:42 +0100 Subject: glx/dri2: add and use new driver hook flush_with_flags --- src/mesa/drivers/dri/nouveau/nouveau_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/nouveau') diff --git a/src/mesa/drivers/dri/nouveau/nouveau_screen.c b/src/mesa/drivers/dri/nouveau/nouveau_screen.c index dc6d758f771..ca39fff807a 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_screen.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_screen.c @@ -216,7 +216,7 @@ nouveau_drawable_flush(__DRIdrawable *draw) } static const struct __DRI2flushExtensionRec nouveau_flush_extension = { - { __DRI2_FLUSH, __DRI2_FLUSH_VERSION }, + { __DRI2_FLUSH, 3 }, nouveau_drawable_flush, dri2InvalidateDrawable, }; -- cgit v1.2.3