android build fix

This commit is contained in:
Flyinghead 2019-10-05 18:45:42 +02:00
parent fc752e6efb
commit 929976c147
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public:
VkInstance GetInstance() const { return static_cast<VkInstance>(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();