Freya Gentz
Freya Gentz
Hey @simlay, can you implement this for iOS? I couldn't get `cargo check` to work for iOS as it needed some SDK (which is of course macos only :/). Thanks...
@vbogaevsky I don't think it particularly matters which order they land, does it? These changes don't really touch anything dpi related.
Glutin 0.21 was not out at the time, so I was using a local copy. Should be fine to just change the version now.
Oh yeah, there was. https://gentz.rocks/posts/glutin-v0-21-0-migration-guide/
You will get an `EGL_BAD_MATCH` error. Egl specs, §3.7.1.6: > An EGL_BAD_MATCH error is generated if an OpenGL or OpenGL ES context is requested and any of: > [..] >...
Should probably call `glViewport` to update the viewport.
Do you have an example I can test?
Can you call this function and see if you actually got an sRGB context on linux? https://docs.rs/glutin/0.22.0-alpha1/glutin/struct.ContextWrapper.html#method.get_pixel_format Can you call this function to check if you got an EGL context...
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 Also, can you provide some hardware info: Linux: Just run `glxinfo && glinfo && lspci`
I've never used glium, sorry.