Lukas Kalbertodt
Lukas Kalbertodt
Just popped up in my feed: [glsl-1.0 & glsl-quasiquote-1.0 released](https://www.reddit.com/r/rust/comments/cf5o8q/glsl10_glslquasiquote10_released/). It uses `shaderc` to do the compilation but it seems to be a full GLSL parser and seems to offer...
Executing the following immediately after creating the `display`: ```rust use crate::glium::glutin::os::ContextTraitExt; println!("{:#?}", display.gl_window().get_pixel_format()); println!("{:?}", unsafe { display.gl_window().get_egl_display() }); ``` ... with `with_srgb(false)` results in: ``` PixelFormat { hardware_accelerated: true, color_bits:...
Thanks for answering so fast! :) > Right, hmmm. On linux, can you check if it thinks it's srgb? https://community.khronos.org/t/check-color-encoding-in-the-default-framebuffer-draw-buffer-for-srgb/72854 I never executed raw OpenGL calls when using `glium`. Could...
So ok, I ran this code using `glutin` and the `gl` crate. ```rust let events_loop = glutin::EventsLoop::new(); let wb = glutin::WindowBuilder::new(); let gl_window = glutin::ContextBuilder::new() .with_srgb(false) //
> 1- Afaik, `GL_BACK` is not a valid attachment. If you check for an error after that call, I suspect you'll be receiving `GL_INVALID_ENUM`. Then again, since stereoscopy is not...
Sorry for the super late reply! > Appoligies, @LukasKalbertodt, you sorta got drowned out. No problem! Thank you two for investigating this so quickly! I unfortunately do not understand everything...
I just tested this again with more or less the code from my first comment: (glium 0.27.0) ```rust #[macro_use] extern crate glium; use glium::Surface; fn main() { let events_loop =...
> But patches are welcome! ;) I do welcome patches, too, but I won't be the author of said patches, since I never really programmed in JS, sorry :wink: Maybe...
Hi there! This PR is indeed not necessary. The code changed in this PR does not lead to breakage as `into_iter` is called on slices, not arrays. While the change...
Could you provide an example of using that in 0.4? If you have an actual project doing that, you can just link it here. A minimal example is fine, too.