Procházet zdrojové kódy

match bgfx::Stats struct

Stuart Carnie před 9 roky
rodič
revize
7e0390e32b
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 4 2
      include/bgfx/c99/bgfx.h

+ 4 - 2
include/bgfx/c99/bgfx.h

@@ -298,10 +298,12 @@ typedef struct bgfx_hmd
 /**/
 /**/
 typedef struct bgfx_stats
 typedef struct bgfx_stats
 {
 {
-    uint64_t cpuTime;
+    uint64_t cpuTimeBegin;
+    uint64_t cpuTimeEnd;
     uint64_t cpuTimerFreq;
     uint64_t cpuTimerFreq;
 
 
-    uint64_t gpuTime;
+    uint64_t gpuTimeBegin;
+    uint64_t gpuTimeEnd;
     uint64_t gpuTimerFreq;
     uint64_t gpuTimerFreq;
 
 
 } bgfx_stats_t;
 } bgfx_stats_t;