diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-09 00:16:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 00:16:26 +0200 |
commit | 23d786d6fbcd374f464155c5f17f1951a664ece9 (patch) | |
tree | 689d5fdef20ddf5a9bb82e2fe9347fa2d473b4af /drivers/vulkan/vulkan_context.h | |
parent | b3310a00743d65d8baa2b5730ecfaed8bf8842a6 (diff) | |
parent | e167af37373dd14e9d1fe888bcc482d0bd071951 (diff) |
Merge pull request #36919 from nekomatata/android-vulkan-rendering
Vulkan rendering support on Android
Diffstat (limited to 'drivers/vulkan/vulkan_context.h')
-rw-r--r-- | drivers/vulkan/vulkan_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vulkan/vulkan_context.h b/drivers/vulkan/vulkan_context.h index 2f10fbfdef..e587104e3c 100644 --- a/drivers/vulkan/vulkan_context.h +++ b/drivers/vulkan/vulkan_context.h @@ -45,8 +45,6 @@ class VulkanContext { FRAME_LAG = 2 }; - bool use_validation_layers; - VkInstance inst; VkSurfaceKHR surface; VkPhysicalDevice gpu; @@ -181,6 +179,8 @@ protected: bool buffers_prepared; + bool use_validation_layers; + public: VkDevice get_device(); VkPhysicalDevice get_physical_device(); |