mirror of https://git.suyu.dev/suyu/suyu
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.merge-requests/60/head
parent
5ed13304e1
commit
d9463f4562
Loading…
Reference in New Issue