@holtjs/stage 0.5.0 → 0.5.1
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/CHANGELOG.md +7 -0
- package/dist/{game-Cu1G9xgW.js → game-C5za2LGl.js} +28 -691
- package/dist/{game-GdPaQUqH.d.ts → game-CfUZiazr.d.ts} +9 -2
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/joystick.d.ts +1 -1
- package/dist/kernel.d.ts +1 -1
- package/dist/lighting.d.ts +1 -1
- package/dist/projection.d.ts +1 -1
- package/dist/{renderer-webgpu-BorAD6Kk.js → renderer-webgpu-BE6fTBzo.js} +718 -1
- package/dist/renderer-webgpu.d.ts +1 -1
- package/dist/renderer-webgpu.js +1 -1
- package/dist/rig2d.d.ts +1 -1
- package/dist/tilemap.d.ts +1 -1
- package/dist/trace.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.5.1] - 2026-12-04
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- **WebGL `createRenderTarget()` & `Lighting2DSystem` Crash (`texImage2D` Overload Error)**:
|
|
13
|
+
- Marked offscreen FBO `TextureSource` instances with `isRenderTarget: true` so `TextureSource` construction skips eager 6-arg `gl.texImage2D(..., dummyStub)` upload on the `{ width, height }` stub object (and uses 9-arg `gl.texImage2D(..., w, h, 0, ..., null)` if re-allocated after context loss), plus preserved `this.activeFbo` across `createRenderTarget()` (reported by @Ivy).
|
|
14
|
+
- Added `createRenderTarget()` and `renderToTarget()` parity on `RendererWebGpu` so `Lighting2DSystem` runs seamlessly on WebGPU as well as WebGL2 and Canvas2D.
|
|
15
|
+
|
|
9
16
|
## [0.5.0] - 2026-12-04
|
|
10
17
|
|
|
11
18
|
### Added
|