vulkan/wsi/x11: Smplify implementation of vkGetPhysicalDeviceSurfaceFormatsKHR
authorEduardo Lima Mitev <elima@igalia.com>
Fri, 28 Oct 2016 12:45:36 +0000 (14:45 +0200)
committerEduardo Lima Mitev <elima@igalia.com>
Fri, 28 Oct 2016 14:53:28 +0000 (16:53 +0200)
commit129da274261b6e79f459e24428591f137bf92ed1
tree418c111128147042650e7384f43d82f1f95a8e71
parentb677b99db5c48ffd1eeef538b962080ac5fd65d9
vulkan/wsi/x11: Smplify implementation of vkGetPhysicalDeviceSurfaceFormatsKHR

This patch simplifies x11_surface_get_formats(). It is actually just a
readability improvement over the patch I provided earlier this week
(750d8cad72).

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/vulkan/wsi/wsi_common_x11.c