projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a52e208
)
vk/formats.c: Use the casting functions
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 10 Jul 2015 03:24:17 +0000
(20:24 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 10 Jul 2015 03:24:17 +0000
(20:24 -0700)
src/vulkan/formats.c
patch
|
blob
|
history
diff --git
a/src/vulkan/formats.c
b/src/vulkan/formats.c
index 00300e19c2315e7c2dbfb3c9e44a666a0d23788e..0fa47fda68137e7ea7a45648e6649f8c9939d3e9 100644
(file)
--- a/
src/vulkan/formats.c
+++ b/
src/vulkan/formats.c
@@
-247,8
+247,7
@@
VkResult anv_GetPhysicalDeviceFormatInfo(
VkFormat _format,
VkFormatProperties* pFormatInfo)
{
- struct anv_physical_device *physical_device =
- (struct anv_physical_device *) physicalDevice;
+ ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice);
const struct surface_format_info *info;
int gen;