[GPUSettings] Self-rewrite (again)

This commit is contained in:
Ducko 2022-04-12 13:30:25 +01:00
parent fa13c5b2b8
commit a8dd97e3cc

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]);