aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_wsi_x11.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-15 16:16:15 -0700
committerJason Ekstrand <[email protected]>2015-10-15 16:16:17 -0700
commit3130851add25d8008d40ca332cfd3b2b4527c0f9 (patch)
treebfd29309685ffeb01dd52d40bd935dfb2ea5caa9 /src/vulkan/anv_wsi_x11.c
parentf5eec407ead90b6aaeddb0d5416c129d1265ef01 (diff)
anv/x11: Only advertise VK_FORMAT_B8R8G8A8_UNORM
The others don't work at the moment so we shouldn't be advertising them.
Diffstat (limited to 'src/vulkan/anv_wsi_x11.c')
-rw-r--r--src/vulkan/anv_wsi_x11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vulkan/anv_wsi_x11.c b/src/vulkan/anv_wsi_x11.c
index 3512238e245..38a5e15d1a6 100644
--- a/src/vulkan/anv_wsi_x11.c
+++ b/src/vulkan/anv_wsi_x11.c
@@ -28,9 +28,7 @@
#include "anv_wsi.h"
static const VkSurfaceFormatKHR formats[] = {
- { .format = VK_FORMAT_B5G6R5_UNORM, },
{ .format = VK_FORMAT_B8G8R8A8_UNORM, },
- { .format = VK_FORMAT_B8G8R8A8_SRGB, },
};
static const VkPresentModeKHR present_modes[] = {