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

Compile error #103

Closed
burtonageo opened this issue Dec 4, 2014 · 3 comments
Closed

Compile error #103

burtonageo opened this issue Dec 4, 2014 · 3 comments
Labels

Comments

@burtonageo
Copy link

When compiling the latest gfx_graphics, there is a compile error:

src/g2d.rs:275:26: 275:32 error: unresolved import `gfx::state::Normal`. There is no `Normal` in `gfx::state`
src/g2d.rs:275         use gfx::state::{Normal, Inverse, Factor};
                                        ^~~~~~
src/g2d.rs:275:34: 275:41 error: unresolved import `gfx::state::Inverse`. There is no `Inverse` in `gfx::state`
src/g2d.rs:275         use gfx::state::{Normal, Inverse, Factor};
                                                ^~~~~~~
@burtonageo burtonageo added the bug label Dec 4, 2014
@brendanzab
Copy link
Member

This is because of the move to namespaced enums in gfx-rs/gfx#469. It should be importing from gfx::state::InverseFlag::{Inverse, Normal}

@brendanzab
Copy link
Member

By the way, I think we should revise the naming for some of the enums based on that change (InverseFlag::Inverse is kinda odd), but that is a different matter.

@bvssvni
Copy link
Member

bvssvni commented Jan 17, 2015

This should now be fixed.

@bvssvni bvssvni closed this as completed Jan 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants