diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-25 02:42:03 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-31 02:07:33 -0300 |
| commit | 53ea06dc17ccf9232aa3326a4621500058f9d253 (patch) | |
| tree | 944449c1810bd515d2b7882c2b2b15cf4a32f9e7 /src/video_core/renderer_vulkan/renderer_vulkan.h | |
| parent | 085adfea00a525796a3bf4b2dd345e1df656c930 (diff) | |
renderer_vulkan: Remove two step initialization on VKDevice
The Vulkan device abstraction either initializes successfully on the
constructor or throws a Vulkan exception.
Diffstat (limited to 'src/video_core/renderer_vulkan/renderer_vulkan.h')
| -rw-r--r-- | src/video_core/renderer_vulkan/renderer_vulkan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.h b/src/video_core/renderer_vulkan/renderer_vulkan.h index 7c5ce1da4..a05b3bd38 100644 --- a/src/video_core/renderer_vulkan/renderer_vulkan.h +++ b/src/video_core/renderer_vulkan/renderer_vulkan.h @@ -56,7 +56,7 @@ public: static std::vector<std::string> EnumerateDevices(); private: - bool PickDevices(); + void InitializeDevice(); void Report() const; |
