Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem enable sRGB #581

Closed
Yamakaky opened this issue Aug 25, 2015 · 2 comments
Closed

Problem enable sRGB #581

Yamakaky opened this issue Aug 25, 2015 · 2 comments

Comments

@Yamakaky
Copy link

// building the display, ie. the main object
let display = glutin::WindowBuilder::new()
        .with_title(format!("Snake 3D effect"))
        .with_srgb(Some(true))
        .build_glium();
assert_eq(display, Err(BackendCreationError(NoAvailablePixelFormat)));

I have an intel HD3000 on ArchLinux/x11. Any idea ?

@tomaka
Copy link
Contributor

tomaka commented Aug 25, 2015

Copy-pasting from the other issue:

It's also a known problem on Linux (are you on Linux?). For some reason the GLX & EGL implementations always report sRGB as false, even when the formats actually have sRGB enabled.

The solution is simply to not call with_srgb. You will probably still get sRGB enabled.

It's still an active problem though.

@goddessfreya
Copy link
Contributor

#952 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants