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

maxwell_3d: change declaration order

namkazy 6 лет назад
Родитель
Сommit
f66743cd0c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/video_core/engines/maxwell_3d.h

+ 3 - 1
src/video_core/engines/maxwell_3d.h

@@ -1276,7 +1276,9 @@ public:
             };
             };
             std::array<u32, NUM_REGS> reg_array;
             std::array<u32, NUM_REGS> reg_array;
         };
         };
-    } regs{};
+    };
+
+    Regs regs{};
 
 
     /// Store temporary hw register values, used by some calls to restore state after a operation
     /// Store temporary hw register values, used by some calls to restore state after a operation
     Regs shadow_state;
     Regs shadow_state;