glutin_window
glutin_window copied to clipboard
A Piston window back-end using the Glutin library
Panic when creating a simple fullscreen window Tested using a simple code in an empty project to isolate : ```Rust use piston_window::{PistonWindow, WindowSettings}; fn main() { let window: PistonWindow =...
I manually created a grayscale gradient from black to white using the following code. Using version 0.70.1 it appeared as expected, however after updating to 0.71.0 it appeared as a...
When I create a window with those settings : ```rust WindowSettings::new("Glutin Window", (640, 480)) .fullscreen(true) ```` The window is fullscreen but in the resolution 640x480. Is this the correct behavior...
Ubuntu Linux x86, xfce4. If window.set_capture_cursor(true) is called then there are no MouseCursorEvent or MouseRelativeEvent events generated in event loop and cursor stays visible. No such issue with sdl2_window. Possibly...
Using this example: https://github.com/PistonDevelopers/Piston-Tutorials/tree/master/getting-started I get the following stack trace when mousing over the window: ``` thread 'main' panicked at 'attempted to leave type `platform::platform::x11::util::input::PointerState` uninitialized, which is invalid', /home/USER/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/mem/mod.rs:658:9...
I am working on a german keyboard and want to capture key events of the german umlaut `ü`. The following lines of code prevent this: https://github.com/PistonDevelopers/glutin_window/blob/c9b89f3c8d60b5e8741c1700fd024b62c5ae4a91/src/lib.rs#L301 https://github.com/PistonDevelopers/glutin_window/blob/c9b89f3c8d60b5e8741c1700fd024b62c5ae4a91/src/lib.rs#L319 Here, in both...
If I run the following code when running on android using `cargo apk`: ``` let window: GlutinWindow = WindowSettings::new( "rust app", (200.0, 200.0) ) .fullscreen(true) .graphics_api(OpenGL::V2_1) .build() .unwrap(); ``` Logcat...
See old discussion here https://github.com/PistonDevelopers/window/issues/56. At some point the in the future I expect most libraries to be written for either Gfx or Vulkan, so OpenGL initialization will not be...
Thread panicked when running example window_builder. Failed to get root window {xError {description:"GLXBadFBConfig", error code:181, request_code:156, minor_code:34} Running on Ubuntu 14.04. I could run the example in the glutin repo.
I got this when trying to run the getting-started in [https://github.com/PistonDevelopers/Piston-Tutorials](https://github.com/PistonDevelopers/Piston-Tutorials). More details are here: [https://github.com/PistonDevelopers/Piston-Tutorials/issues/144](https://github.com/PistonDevelopers/Piston-Tutorials/issues/144) I was able to fix this by using the newest version of glutin from...