Closed kvark closed 8 years ago
Thanks, @kvark!
Awesome! Any idea when this will hit crates.io?
@joelwkall just published 0.11.0, try it out.
I'm probably just to green at rust, but I can't make the new function accept the Factory from my PistonWindow.
let mut text = gfx_text::new(window.factory.clone()).build().unwrap();
Just gives me
the trait gfx_core::factory::Factory<_> is not implemented for the type gfx_device_gl::factory::Factory
Any help appreciated.
Sounds like your app is linking against a different version of GFX than gfx_text is using.
On Jul 1, 2016, at 13:45, Joel W Kall notifications@github.com wrote:
I'm probably just to green at rust, but I can't make the new function accept the Factory from my PistonWindow.
let mut text = gfx_text::new(window.factory.clone()).build().unwrap();
Just gives me
the trait gfxcore::factory::Factory<> is not implemented for the type gfx_device_gl::factory::Factory
Any help appreciated.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hmm, yes, piston_window seems to be using gfx 0.11, while gfx_text uses gfx 0.12. How can I fix that?
Submit a PR to piston_window. There are next to no changes to GFX API in the new version, so updating should be easy.
On Jul 1, 2016, at 14:04, Joel W Kall notifications@github.com wrote:
Hmm, yes, piston_window seems to be using gfx 0.11, while gfx_text uses gfx 0.12. How can I fix that?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Alternatively, as a workaround, you can checkout fresh GFX and do a cargo override on it.
On Jul 1, 2016, at 14:04, Joel W Kall notifications@github.com wrote:
Hmm, yes, piston_window seems to be using gfx 0.11, while gfx_text uses gfx 0.12. How can I fix that?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Closes #45