Jelajahi Sumber

Merge pull request #767 from stuartcarnie/master

match bgfx::Stats struct
Branimir Karadžić 9 tahun lalu
induk
melakukan
778ad06b38
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  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;