void GX2Flush() { if (GX2GetDisplayListWriteStatus()) { gLog->error("GX2Flush called from within a display list"); } gx2::internal::flushCommandBuffer(nullptr); }
void GX2CallDisplayList(GX2DisplayList *displayList, uint32_t size) { if (GX2GetDisplayListWriteStatus()) { GX2CopyDisplayList(displayList, size); } else { GX2DirectCallDisplayList(displayList, size); } }