Skip to content

Commit 9a4a7e2

Browse files
obiotclaude
andcommitted
Update CHANGELOG with renderer and plugin fixes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3d515d3 commit 9a4a7e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/melonjs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
- TypeScript: convert application, input, and UI modules to TypeScript — application, header, resize, input, pointer, pointerevent, gamepad, uibaseelement, uispriteelement, uitextbutton
2727

2828
### Fixed
29+
- WebGLRenderer: `setBatcher()` now rebinds the shared vertex buffer when switching batchers, allowing custom batchers with their own GL buffers to integrate without manual cleanup
30+
- WebGLRenderer: `setBlendMode()` now accepts a `premultipliedAlpha` parameter (default `true`) for correct blending with non-premultiplied textures; removed internal `gl`/`context` parameter from both WebGL and Canvas renderers
31+
- Renderer: add base `setBlendMode()` and `GPURenderer` property to fix TypeScript `as any` casts in `header.ts` and `resize.ts`
32+
- Plugin: `plugin.register()` now uses `pluginClass.name` for name derivation, fixing class name extraction when bundlers strip class names
2933
- TMXTileset: fix animation key using first frame tileid instead of the tile's own id
3034
- CanvasRenderer: replace bezier ellipse approximation with native `context.ellipse()` (with polyfill for older browsers)
3135
- Plugin: fix `plugin.get()` throwing `TypeError` when searching by name with no match (instanceof on string)

0 commit comments

Comments
 (0)