예제 #1
0
void
GX2Flush()
{
   if (GX2GetDisplayListWriteStatus()) {
      gLog->error("GX2Flush called from within a display list");
   }

   gx2::internal::flushCommandBuffer(nullptr);
}
예제 #2
0
void
GX2CallDisplayList(GX2DisplayList *displayList, uint32_t size)
{
   if (GX2GetDisplayListWriteStatus()) {
      GX2CopyDisplayList(displayList, size);
   } else {
      GX2DirectCallDisplayList(displayList, size);
   }
}