Skip to content

Commit 804b848

Browse files
committed
Renamed to G2d and Glyphs
1 parent e5cc9df commit 804b848

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ use gfx_graphics::{ Gfx2d, GfxGraphics };
2828
/// Actual gfx::Stream implementation carried by the window.
2929
pub type GfxStream = gfx::OwnedStream<gfx_device_gl::Device, gfx_device_gl::Output>;
3030
/// Glyph cache.
31-
type PistonGlyphCache = gfx_graphics::GlyphCache<gfx_device_gl::Resources, gfx_device_gl::Factory>;
31+
type Glyphs = gfx_graphics::GlyphCache<gfx_device_gl::Resources, gfx_device_gl::Factory>;
3232
/// 2D graphics.
33-
type PistonGraphics<'a> = GfxGraphics<'a, gfx_device_gl::Resources, gfx_device_gl::CommandBuffer, gfx_device_gl::Output>;
33+
type G2d<'a> = GfxGraphics<'a, gfx_device_gl::Resources, gfx_device_gl::CommandBuffer, gfx_device_gl::Output>;
3434

3535
/// Creates a window using default window back-end.
3636
pub fn window(settings: WindowSettings) -> Rc<RefCell<GlutinWindow>> {

0 commit comments

Comments
 (0)