cube: Remove unncessary VK_FORMAT_UNDEFINED check for surface formats
authorJoshua Ashton <joshua@froggi.es>
Thu, 2 Apr 2020 05:07:47 +0000 (06:07 +0100)
committerjeremyk-lunarg <jeremyk@lunarg.com>
Mon, 6 Apr 2020 19:54:26 +0000 (13:54 -0600)
commitf002f7dad7fbe0b6f9457605b3d2968f00643aa9
tree46f9b73d8e8b244a3edb913f753591bcfaec6084
parent698d82e38b39e94bf4d6013bcb2347813a69d78b
cube: Remove unncessary VK_FORMAT_UNDEFINED check for surface formats

From the spec: The number of format pairs supported must be greater than or equal to 1. pSurfaceFormats must not contain an entry whose value for format is VK_FORMAT_UNDEFINED.
cube/cube.c