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

Texture wrapping set incorrectly for y-axis (Simple Fix) #429

Closed
sokorototo opened this issue May 9, 2024 · 3 comments
Closed

Texture wrapping set incorrectly for y-axis (Simple Fix) #429

sokorototo opened this issue May 9, 2024 · 3 comments

Comments

@sokorototo
Copy link

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, wrap_x as i32);

Replace wrap_x with wrap_y

@not-fl3
Copy link
Owner

not-fl3 commented May 9, 2024

looks like a bug, feel free to make a PR!

@sokorototo
Copy link
Author

Unfortunately I can't create a fork and open a PR. I discovered this bug while porting a fork of miniquad to wasm-bindgen. You can check out the repo miniquad-wasm-bindgen if you are interested.

@profan
Copy link

profan commented Sep 28, 2024

this looks like it has been fixed, can probably be closed?

@not-fl3 not-fl3 closed this as completed Sep 29, 2024
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

3 participants