Просмотр исходного кода

avoid -Wreorder warning in VideoDriver.h

Pascal Deklerck 7 лет назад
Родитель
Сommit
54a6683cef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      oxygine/src/oxygine/core/VideoDriver.h

+ 1 - 1
oxygine/src/oxygine/core/VideoDriver.h

@@ -29,7 +29,7 @@ namespace oxygine
         class Stats
         {
         public:
-            Stats() : batches(0), duration(0), start(0) { memset(elements, 0, sizeof(elements)); }
+            Stats() : batches(0), start(0), duration(0) { memset(elements, 0, sizeof(elements)); }
             int batches;
             int elements[PT_COUNT];
             timeMS start;