From 929976c1477b715263ddfd2dd742170b724ce87c Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sat, 5 Oct 2019 18:45:42 +0200 Subject: [PATCH] android build fix --- core/rend/vulkan/vulkan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rend/vulkan/vulkan.h b/core/rend/vulkan/vulkan.h index 7d2aeae7e..1d6640e1f 100644 --- a/core/rend/vulkan/vulkan.h +++ b/core/rend/vulkan/vulkan.h @@ -50,7 +50,7 @@ public: VkInstance GetInstance() const { return static_cast(instance.get()); } u32 GetGraphicsQueueFamilyIndex() const { return graphicsQueueIndex; } - void SetSurface(VkSurfaceKHR surface) { this->surface = surface; } + void SetSurface(VkSurfaceKHR surface) { this->surface = vk::SurfaceKHR(surface); } void SetWindowSize(u32 width, u32 height) { this->width = screen_width = width; this->height = screen_height = height; } void NewFrame(); void BeginRenderPass();