-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I'm not being able to create a transparent window.
The method transparent
on WindowSettings
seems to have no effect:
extern crate piston_window;
use piston_window::*;
fn main() {
let mut window: PistonWindow = WindowSettings::new("Hello Piston!", (640, 480))
.exit_on_esc(true)
.transparent(true)
.build()
.unwrap_or_else(|e| { panic!("Failed to build PistonWindow: {}", e) });
while let Some(e) = window.next() {
window.draw_2d(&e, |_c, g, _d| {
clear([0.5, 1.0, 0.5, 0.5], g);
});
}
}
ProgrammingLife and aarchangel64
Metadata
Metadata
Assignees
Labels
No labels