mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 08:20:29 +01:00
vk/formats.c: Use the casting functions
This commit is contained in:
parent
a52e208203
commit
fb4e2195ec
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue