diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-14 18:47:04 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-09-15 09:16:38 +0200 |
commit | 8e8c7c670340e747e9860fb6cbfc3e89f315fcc2 (patch) | |
tree | 13b4ebd090763a91f7a2820457fba3b136d3f2d4 /src/amd/vulkan/radv_wsi.c | |
parent | a0495d4bb3a3f9e61652c7cab339547edbbef8ba (diff) |
radv: fix a potential crash if attachments allocation failed
Also, it's useless to set the error code twice. Though, we
should probably skip the next commands when the command buffer
is considered invalid.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_wsi.c')
0 files changed, 0 insertions, 0 deletions