summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-15 19:59:01 -0800
committerJason Ekstrand <[email protected]>2017-12-04 10:04:19 -0800
commit3991098f3b10519b4308763fb77cd15e3218a044 (patch)
treec2a5c32145ca8cc11d176be7d707e7c8aef948ef /src/amd
parentc1163f7b1c3f56bb268f61205a67f019806ae785 (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/amd')
0 files changed, 0 insertions, 0 deletions