Skip to content

Commit 4ce8374

Browse files
committed
Merge pull request #30 from bvssvni/master
Upgrade to latest Gfx
2 parents 9fda012 + 3736401 commit 4ce8374

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "piston_window"
4-
version = "0.0.4"
4+
version = "0.0.5"
55
authors = ["bvssvni <[email protected]>"]
66
keywords = ["window", "piston"]
77
description = "The official Piston window back-end for the Piston game engine"

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ use gfx_graphics::{ Gfx2d, GfxGraphics };
1818
use graphics::Context;
1919

2020
/// Actual gfx::Stream implementation carried by the window.
21-
pub type GfxStream = gfx::OwnedStream<
22-
gfx_device_gl::Resources, gfx_device_gl::CommandBuffer, gfx_device_gl::Output
23-
>;
21+
pub type GfxStream = gfx::OwnedStream<gfx_device_gl::Device, gfx_device_gl::Output>;
2422

2523
/// Contains everything required for controlling window, graphics, event loop.
2624
pub struct PistonWindow<W: window::Window, T = ()> {

0 commit comments

Comments
 (0)