@opentui/three 0.5.8 → 0.5.10
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/index.js +1 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -525,9 +525,8 @@ class CLICanvas {
|
|
|
525
525
|
textureBuffer.unmap();
|
|
526
526
|
return;
|
|
527
527
|
}
|
|
528
|
-
const mappedRangePtr = textureBuffer.getMappedRangePtr(0, textureBuffer.size);
|
|
529
|
-
const bufPtr = mappedRangePtr;
|
|
530
528
|
if (this.superSample === "cpu" /* CPU */) {
|
|
529
|
+
const bufPtr = textureBuffer.getMappedRangePtr(0, textureBuffer.size);
|
|
531
530
|
const format = contextFormat === "bgra8unorm" ? "bgra8unorm" : "rgba8unorm";
|
|
532
531
|
const ssStart = performance.now();
|
|
533
532
|
buffer.drawSuperSampleBuffer(0, 0, bufPtr, textureBuffer.size, format, alignedBytesPerRow);
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.5.
|
|
7
|
+
"version": "0.5.10",
|
|
8
8
|
"description": "Three.js WebGPU renderer for OpenTUI",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentui/core": "0.5.
|
|
28
|
+
"@opentui/core": "0.5.10",
|
|
29
29
|
"jimp": "1.6.1",
|
|
30
30
|
"three": "0.177.0"
|
|
31
31
|
},
|