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

Updating Macroquad Version #40

Open
emadpres opened this issue Mar 2, 2024 · 1 comment
Open

Updating Macroquad Version #40

emadpres opened this issue Mar 2, 2024 · 1 comment

Comments

@emadpres
Copy link

emadpres commented Mar 2, 2024

Hi

As far as I understood, this crate is designed to internally include macroquad as its own dependency (most probably to ensure nothings breaks) and therefore the user of egui-macroquad are not supposed to add both macroquad and egui-macroquad as dependencies.

Meaning, this is not going to work (it causes a panic in my case)

[dependencies]
macroquad = "0.4.5"  # or its variants, like { version = "0.4.5", default-features = false }
egui-macroquad = "0.15.0"

If so, what's the process of updating egui-macroquad to use more recent versions of macroquad? As of now, egui-macroquad depends onmacroquad 0.3.x while 0.4.x is out for a while.

@miwarnec
Copy link

miwarnec commented Mar 26, 2024

For anyone else who's having this issue: I did some research and tried to update egui-macroquad to use macroquad 4.X manually.

This isn't possible yet because we first need equi-miniquad to support miniquad 4.X.
The egui-miniquad repository has the commit for this already, but it's not released.

Looks like we first need to wait for egui-miniquad 0.15 to be released.
And then it should be possible to upgrade egui-macroquad manually since it's just one file.


Until then, the solution is to stick with macroquad 3.X.

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

2 participants