projects
/
kazan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4f684
)
fix weird compile error
author
Jacob Lifshay
<programmerjake@gmail.com>
Wed, 20 Sep 2017 02:26:25 +0000
(19:26 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Wed, 20 Sep 2017 02:26:25 +0000
(19:26 -0700)
src/vulkan_icd/x11_wsi.cpp
patch
|
blob
|
history
diff --git
a/src/vulkan_icd/x11_wsi.cpp
b/src/vulkan_icd/x11_wsi.cpp
index 5166f437bc0669e284df4084468575887dcbe472..9b2b76e37861a7372f9f6c01dbde8ec99f71aa23 100644
(file)
--- a/
src/vulkan_icd/x11_wsi.cpp
+++ b/
src/vulkan_icd/x11_wsi.cpp
@@
-936,7
+936,7
@@
util::variant<VkResult, std::unique_ptr<Vulkan_swapchain>> Xcb_wsi::create_swapc
return VK_ERROR_SURFACE_LOST_KHR;
case Implementation::Swapchain::Status::Good:
case Implementation::Swapchain::Status::Out_of_date: // we'll return out of date later
- return s
wapchain
;
+ return s
td::move(swapchain)
;
}
assert(!"unreachable");
return {};