From 0e983276b96eee5aa1dd091888bc81e36169a8f1 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 21 Apr 2016 17:16:49 +0100 Subject: mesa_glinterop: drop mesa_glinterop_device_info::interop_version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One cannot use a single version to control both export_in and export_out versions. Using this forces us to always extend/bump both structs at the same time. An alternative scheme is coming with next patch. Signed-off-by: Emil Velikov Reviewed-by: Marek Olšák Tested-by: Tom Stellard --- src/gallium/state_trackers/dri/dri2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 15e34431881..3a2a3cedc5a 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -1480,8 +1480,6 @@ dri2_interop_query_device_info(__DRIcontext *_ctx, out->vendor_id = screen->get_param(screen, PIPE_CAP_VENDOR_ID); out->device_id = screen->get_param(screen, PIPE_CAP_DEVICE_ID); - out->interop_version = 1; - return MESA_GLINTEROP_SUCCESS; } -- cgit v1.2.3