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

Add warning doc for export_png #682

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

yeahross0
Copy link
Contributor

@yeahross0 yeahross0 commented Jan 2, 2024

This method raises this error on web:

PanicInfo { payload: Any { .. }, message: Some(called Result::unwrap() on an Err value: IoError(Error { kind: Unsupported, message: "operation not supported on this platform" })), location: Location { file: "{...}\macroquad-0.4.4\src\texture.rs", line: 253, col: 10 }, can_unwind: true }

Added a doc comment to explain that this method isn't available for wasm.

@not-fl3 not-fl3 merged commit 37a762a into not-fl3:master Jan 3, 2024
2 checks passed
@not-fl3
Copy link
Owner

not-fl3 commented Jan 3, 2024

Thanks for PR!

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.

2 participants