Skip to content

v1.2.0: texSubImage2D Image/Canvas source form + release pending fixes - #2

Merged
monteslu merged 2 commits into
mainfrom
texsource-and-release-1.2.0
Jun 23, 2026
Merged

monteslu merged 2 commits into
mainfrom
texsource-and-release-1.2.0

Conversation

@monteslu

Copy link
Copy Markdown
Owner

fixes #1

  • texSubImage2D now accepts the (target, level, xoffset, yoffset, format, type, source) Image/Canvas form, mirroring texImage2D. three.js uses this path, so without it callers had to patch three. Closes NPM Release Question #1.
  • Include the already-committed texImage2D Image/Canvas support and the transformFeedbackVaryings arg-count fix (drop stray varyings.length) in a published release — npm 1.1.0 predates both.
  • Bump version 1.1.0 -> 1.2.0 so these reach npm.
  • Bump example deps: three ^0.184.0, @kmamal/sdl ^0.11.13, sharp ^0.35.2.
  • Document the Image/Canvas source form in the README.

monteslu added 2 commits June 23, 2026 08:22
- texSubImage2D now accepts the (target, level, xoffset, yoffset, format,
  type, source) Image/Canvas form, mirroring texImage2D. three.js uses this
  path, so without it callers had to patch three. Closes #1.
- Include the already-committed texImage2D Image/Canvas support and the
  transformFeedbackVaryings arg-count fix (drop stray varyings.length) in a
  published release — npm 1.1.0 predates both.
- Bump version 1.1.0 -> 1.2.0 so these reach npm.
- Bump example deps: three ^0.184.0, @kmamal/sdl ^0.11.13, sharp ^0.35.2.
- Document the Image/Canvas source form in the README.
@monteslu
monteslu merged commit ba140ec into main Jun 23, 2026
2 checks passed
@monteslu
monteslu deleted the texsource-and-release-1.2.0 branch June 23, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPM Release Question

1 participant