diff options
author | Jason Ekstrand <[email protected]> | 2017-11-15 19:59:01 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-12-04 10:04:19 -0800 |
commit | 3991098f3b10519b4308763fb77cd15e3218a044 (patch) | |
tree | c2a5c32145ca8cc11d176be7d707e7c8aef948ef /src/vulkan/Makefile.sources | |
parent | c1163f7b1c3f56bb268f61205a67f019806ae785 (diff) |
vulkan/wsi/x11: Handle the geometry check earlier in create_swapchain
This fixes a potential leak if allocating the swapchain fails. Since
geometry checking and bit-depth fetching is self-contained, it makes
sense to just do it first so we can delete the geometry reply.
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/vulkan/Makefile.sources')
0 files changed, 0 insertions, 0 deletions