diff options
author | Emil Velikov <[email protected]> | 2016-04-21 16:18:39 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-24 23:03:00 +0100 |
commit | c196de23aece3cea7b30da6d7356b614ee254dae (patch) | |
tree | 385f4663649e16ecb6225af1a7a9d76ee8e5fadd /src/gallium | |
parent | cb0708c8438390509d0814cda45e7576b7c0555c (diff) |
mesa_glinterop: s/struct_version/version/
OCD polish for consistency with other mesa interfaces.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/dri/dri2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 7f0db351c87..bcca2f21780 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -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. */ |