Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sample code for creating a texture is incorrect. #212

Closed
holmak opened this issue Sep 12, 2023 · 1 comment
Closed

The sample code for creating a texture is incorrect. #212

holmak opened this issue Sep 12, 2023 · 1 comment

Comments

@holmak
Copy link

holmak commented Sep 12, 2023

https://github.com/gfxfundamentals/webgl2-fundamentals/blob/master/webgl/webgl-3d-textures.html#L153

Some of the arguments in this call to texImage2D are missing: the width, height and border.

@holmak
Copy link
Author

holmak commented Sep 12, 2023

This is incorrect; there is an overload which has this signature.

@holmak holmak closed this as completed Sep 12, 2023
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

No branches or pull requests

1 participant