summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-04-22 21:36:05 -0300
committerGravatar ReinUsesLisp2020-04-22 21:36:05 -0300
commitd9463f45622c74dff1a775e7d547cf44e627e65e (patch)
treeca32dbf10eb8eb71567731a4e449200d5286ff85 /src/video_core/gpu_thread.cpp
parentMerge pull request #3758 from H27CK/vk-cmd (diff)
downloadyuzu-d9463f45622c74dff1a775e7d547cf44e627e65e.tar.gz
yuzu-d9463f45622c74dff1a775e7d547cf44e627e65e.tar.xz
yuzu-d9463f45622c74dff1a775e7d547cf44e627e65e.zip
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/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions