diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-22 21:36:05 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-22 21:36:05 -0300 |
| commit | 910decd9cb8e7bdbf10b8901a741137fe0a6680b (patch) | |
| tree | ca32dbf10eb8eb71567731a4e449200d5286ff85 /src/video_core/renderer_vulkan/wrapper.cpp | |
| parent | 0882be2275e59aa3902dc060876905fc2af12305 (diff) | |
vk_pipeline_cache: Fix unintentional memcpy into optional
The intention behind this was to assign a float to from an uint32_t, but
it was unintentionally being copied directly into the std::optional.
Copy to a temporary and assign that temporary to std::optional. This can
be replaced with std::bit_cast<float> once we are in C++20.
Diffstat (limited to 'src/video_core/renderer_vulkan/wrapper.cpp')
0 files changed, 0 insertions, 0 deletions
