Skip to content

Fixed incorrect args order for tex_image_3d for WebGL2#348

Merged
grovesNL merged 1 commit intogrovesNL:mainfrom
mrDIMAS:main
Dec 14, 2025
Merged

Fixed incorrect args order for tex_image_3d for WebGL2#348
grovesNL merged 1 commit intogrovesNL:mainfrom
mrDIMAS:main

Conversation

@mrDIMAS
Copy link
Copy Markdown
Contributor

@mrDIMAS mrDIMAS commented Aug 26, 2025

Parameters border and depth got swapped somehow, this triggers a warning texImage3D: border must be 0 in pretty much all browsers and essentially makes 3D textures unusable. The correct order is defined here

Copy link
Copy Markdown
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@grovesNL grovesNL merged commit f8f89ca into grovesNL:main Dec 14, 2025
7 checks passed
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.

3 participants