Quellcode durchsuchen

Merge pull request #767 from stuartcarnie/master

match bgfx::Stats struct
Branimir Karadžić vor 9 Jahren
Ursprung
Commit
778ad06b38
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  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;