commit | 61e45380a4eefe130577eb1e3abf433ab941d506 | [log] [tgz] |
---|---|---|
author | Piers Daniell <pdaniell@nvidia.com> | Thu Mar 31 14:47:57 2016 -0600 |
committer | Jon Ashburn <jon@lunarg.com> | Fri Apr 01 11:23:18 2016 -0600 |
tree | f1b0b20d3e2563f45ee82bb25b9655058799b00e | |
parent | ed8f23173ba6209d1044a6d08da6ca093e41c280 [diff] |
loader: Fix loader_unwrap_physical_device() to cast to correct type The trampoline loader_unwrap_physical_device() utility function was casting the VkPhysicalDevice parameter to (loader_physical_device*) instead of (loader_physical_device_tramp*). It worked previously because it just so happened that the phys_dev member was in the same location in both structs. Change-Id: I3bee175df8b64b44ef2e440f7e43603ca0617da2