GX2: Fix return type of GX2DrawDone

This commit is contained in:
Exzap 2026-03-21 12:25:46 +01:00
parent 8065520583
commit f893e2928c
2 changed files with 3 additions and 3 deletions

View File

@ -214,7 +214,7 @@ namespace GX2
__OSUnlockScheduler();
}
void GX2DrawDone()
bool GX2DrawDone()
{
// optional force full sync (texture readback and occlusion queries)
bool forceFullSync = false;
@ -231,7 +231,7 @@ namespace GX2
GX2Command_Flush(0x100, true);
uint64 ts = GX2GetLastSubmittedTimeStamp();
GX2WaitTimeStamp(ts);
return GX2WaitTimeStamp(ts);
}
void GX2Init_event()

View File

@ -8,7 +8,7 @@ namespace GX2
void GX2EventInit();
void GX2WaitForVsync();
void GX2WaitForFlip();
void GX2DrawDone();
bool GX2DrawDone();
enum class GX2CallbackEventType
{