stats-gl 2.2.1 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/lib/main.ts +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -206,7 +206,7 @@ const _Stats = class _Stats2 {
|
|
|
206
206
|
this.addToAverage(this.totalGpuDuration, this.averageGpu);
|
|
207
207
|
this.renderCount = 0;
|
|
208
208
|
this.totalCpuDuration = 0;
|
|
209
|
-
if (this.info
|
|
209
|
+
if (this.info !== void 0) {
|
|
210
210
|
this.addToAverage(this.totalGpuDurationCompute, this.averageGpuCompute);
|
|
211
211
|
this.totalGpuDuration = 0;
|
|
212
212
|
this.totalGpuDurationCompute = 0;
|
package/dist/main.js
CHANGED
|
@@ -205,7 +205,7 @@ const _Stats = class _Stats2 {
|
|
|
205
205
|
this.addToAverage(this.totalGpuDuration, this.averageGpu);
|
|
206
206
|
this.renderCount = 0;
|
|
207
207
|
this.totalCpuDuration = 0;
|
|
208
|
-
if (this.info
|
|
208
|
+
if (this.info !== void 0) {
|
|
209
209
|
this.addToAverage(this.totalGpuDurationCompute, this.averageGpuCompute);
|
|
210
210
|
this.totalGpuDuration = 0;
|
|
211
211
|
this.totalGpuDurationCompute = 0;
|
package/lib/main.ts
CHANGED
|
@@ -355,7 +355,7 @@ class Stats {
|
|
|
355
355
|
this.renderCount = 0;
|
|
356
356
|
this.totalCpuDuration = 0;
|
|
357
357
|
|
|
358
|
-
if (this.info
|
|
358
|
+
if (this.info !== undefined) {
|
|
359
359
|
this.addToAverage(this.totalGpuDurationCompute, this.averageGpuCompute);
|
|
360
360
|
|
|
361
361
|
this.totalGpuDuration = 0;
|