glx/dri2: add and use new driver hook flush_with_flags
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_screen.c
index 2e6cf3cb5c08e8a7dc0e6aa9f3031088f73c3de3..7d1c0be4365baa2a4d54a4b4de345b52074290ae 100644 (file)
@@ -193,7 +193,7 @@ radeonDRI2Flush(__DRIdrawable *drawable)
 }
 
 static const struct __DRI2flushExtensionRec radeonFlushExtension = {
-    { __DRI2_FLUSH, __DRI2_FLUSH_VERSION },
+    { __DRI2_FLUSH, 3 },
     radeonDRI2Flush,
     dri2InvalidateDrawable,
 };