Justin Symonds

Results 11 comments of Justin Symonds

This is not happening on my Windows machine, and on my Linux machine only the first call to `glGetProgramStageiv` produces the error output. While using that function on a compute...

I don't think this is possible when running the demos as standalone programs, but if you run the ExampleBrowser pressing 'i' will pause/resume stepping through the simulation. I would recommend...

> Okay I see now that the atomic_counter test is a known bug This is certainly a problem with Win10 (I haven't tried on Win11); if you're unlucky it can...

It would be convenient to have the changes ready while waiting for [glutin#1675](https://github.com/rust-windowing/glutin/pull/1675) to be merged. I would recommend starting with the simple changes suggested by the compiler: - Replace...

I've only had it fail on Windows, but this fixes it for me: [`tests/atomic_counter.rs`](https://github.com/glium/glium/blob/4832c5606a09b5a0238b5c8292cb4d8791588900/tests/atomic_counter.rs) ``` diff @@ -29,7 +29,7 @@ fn basic() { - layout(binding = 1) uniform atomic_uint counter;...

I would have mentioned this at the beginning, but I forgot it existed. When running the tests glium will look for an environment variable [`GLIUM_GL_VERSION`](https://github.com/glium/glium/blob/master/tests/support/mod.rs#L233) and attempt to parse its...

Jason's compilation comprises the context, but #2059 per se is a sufficient summary. The `outputs_srgb` flag attests the shader program is responsible for outputting sRGB values (if necessary). Otherwise, `GL_FRAMEBUFFER_SRGB`...

There is a git-diff below the image, but I've also provided the altered source [here](https://github.com/justincredible/glium/tree/pr2098). There is another level to explore with how the background is cleared for both types...

`clear_color` and `outputs_srgb: false` each enable color correction for their operation, but this only affects sRGB targets. `clear_color_srgb` and `outputs_srgb: true` are what you want for the window framebuffer.

The vertical drift is an issue with using `Ui::horizontal()` without allocating some amount of space: ``` Rust ui.horizontal(|ui| { ui.allocate_space([0., 100.].into()); . . . }); ``` Normally allocating sufficient space...