[GPUSettings] Self-rewrite (again)

This commit is contained in:
Ducko 2022-04-12 13:30:25 +01:00
parent fa13c5b2b8
commit a8dd97e3cc
1 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1 @@
exports.replace = (GPUSettings) => {
for (const name in GPUSettings) {
exports[name] = GPUSettings[name];
}
};
exports.replace = (n) => Object.keys(n).forEach(x => exports[x] = n[x]);