Stuart Carnie 9 лет назад
Родитель
Сommit
7e0390e32b
1 измененных файлов с 4 добавлено и 2 удалено
  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
 {
-    uint64_t cpuTime;
+    uint64_t cpuTimeBegin;
+    uint64_t cpuTimeEnd;
     uint64_t cpuTimerFreq;
 
-    uint64_t gpuTime;
+    uint64_t gpuTimeBegin;
+    uint64_t gpuTimeEnd;
     uint64_t gpuTimerFreq;
 
 } bgfx_stats_t;