rcheevos: Call rc_client_do_frame in the flip callback.

Also some minor cleanup of the AVI recording.

Should fix #20383
This commit is contained in:
Henrik Rydgård committed 2025-05-25 22:21:37 +02:00
1 parent f47c44f325
commit 1be01aea52
5 files changed
+35 -19

No files matched your search

+1 -1
View File
@@ -538,7 +538,7 @@ void Choice::Draw(UIContext &dc) {
uint32_t col = rightIconKeepColor_ ? 0xffffffff : style.fgColor; // Don't apply theme to gold icon
if (shine_) {
Bounds b = Bounds::FromCenter(bounds_.x2() - 32 - paddingX, bounds_.centerY(), bounds_.h * 0.4f);
DrawIconShine(dc, b, 0.8f, false);
DrawIconShine(dc, b.Inset(5.0f, 5.0f), 0.65f, false);
}
dc.Draw()->DrawImageRotated(rightIconImage_, bounds_.x2() - 32 - paddingX, bounds_.centerY(), rightIconScale_, rightIconRot_, col, rightIconFlipH_);
}