summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Present.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-06-19 11:37:04 +0200
committerJosJuice <josjuice@gmail.com>2026-07-05 09:50:13 +0200
commit5f372d6b1df2a6c87cf54e4f6eeb5c0e12383739 (patch)
tree15191536089bea75cfb63a46d7716072d9d6c857 /Source/Core/VideoCommon/Present.cpp
parentd8d37fdbc487d7befe324a10b3b83e5b32f3644e (diff)
VideoCommon: Reduce padding in PresentInfo
This makes the struct 8 bytes smaller.
Diffstat (limited to 'Source/Core/VideoCommon/Present.cpp')
-rw-r--r--Source/Core/VideoCommon/Present.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Present.cpp b/Source/Core/VideoCommon/Present.cpp
index 7c62730667..f74b9a8fa4 100644
--- a/Source/Core/VideoCommon/Present.cpp
+++ b/Source/Core/VideoCommon/Present.cpp
@@ -234,9 +234,9 @@ void Presenter::ImmediateSwap(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_
PresentInfo present_info{
.frame_count = m_frame_count++,
.present_count = m_present_count++,
- .reason = PresentInfo::PresentReason::Immediate,
.emulated_timestamp = ticks,
.intended_present_time = m_next_swap_estimated_time,
+ .reason = PresentInfo::PresentReason::Immediate,
};
auto& video_events = GetVideoEvents();