You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The guide mentions support for both, though I find nothing in the documentation/source.
I'm creating my window with sdl2_window and drawing with opengl_graphics, I managed to create the UI and a Text primitive following the "all_piston_example" found here, making the necessary changes. But I can not figure out how to draw! The one backend that seems like the one I might want is piston, but I of course get an error that the types wont match since the Context I have is from graphics::Context, not conrod::backend::piston::draw::Context. And the Graphics I have implement graphics::Graphics, not conrod::backend::piston::draw::Graphics.
I'm kinda new to Rust so I might be missing something.
Any help is appreciated, thank you!
The text was updated successfully, but these errors were encountered:
The guide mentions support for both, though I find nothing in the documentation/source.
I'm creating my window with
sdl2_window
and drawing withopengl_graphics
, I managed to create the UI and a Text primitive following the "all_piston_example" found here, making the necessary changes. But I can not figure out how to draw! The one backend that seems like the one I might want ispiston
, but I of course get an error that the types wont match since theContext
I have is fromgraphics::Context
, notconrod::backend::piston::draw::Context
. And theGraphics
I have implementgraphics::Graphics
, notconrod::backend::piston::draw::Graphics
.I'm kinda new to Rust so I might be missing something.
Any help is appreciated, thank you!
The text was updated successfully, but these errors were encountered: