mirror of
https://github.com/encounter/aurora.git
synced 2025-07-05 04:35:55 +00:00
Check for null GXDrawDone callback
This commit is contained in:
parent
1825a80953
commit
b3a8be9206
@ -10,9 +10,9 @@ GXFifoObj* GXInit(void* base, u32 size) { return NULL; }
|
||||
// TODO GXReadDrawSync
|
||||
// TODO GXSetDrawSyncCallback
|
||||
|
||||
void GXDrawDone() { DrawDoneCB(); }
|
||||
void GXDrawDone() { if (DrawDoneCB != nullptr) DrawDoneCB(); }
|
||||
|
||||
void GXSetDrawDone() { DrawDoneCB(); }
|
||||
void GXSetDrawDone() { if (DrawDoneCB != nullptr) DrawDoneCB(); }
|
||||
|
||||
// TODO GXWaitDrawDone
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user