mesa_glinterop: s/struct_version/version/

OCD polish for consistency with other mesa interfaces.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
Emil Velikov
2016-04-21 16:18:39 +01:00
committed by Emil Velikov
parent cb0708c843
commit c196de23ae
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1468,7 +1468,7 @@ dri2_interop_query_device_info(__DRIcontext *_ctx,
{
struct pipe_screen *screen = dri_context(_ctx)->st->pipe->screen;
if (!out->struct_version)
if (!out->version)
return MESA_GLINTEROP_INVALID_VALUE;
out->pci_segment_group = screen->get_param(screen, PIPE_CAP_PCI_GROUP);
@@ -1497,7 +1497,7 @@ dri2_interop_export_object(__DRIcontext *_ctx,
unsigned target, usage;
boolean success;
if (!in->struct_version || !out->struct_version)
if (!in->version || !out->version)
return MESA_GLINTEROP_INVALID_VALUE;
/* Validate the target. */