Skip to content

SDL_SetWindowBrightness() doesn't work with Intel driver #1779

@SDLBugzilla

Description

@SDLBugzilla

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Linux, All

Comments on the original bug report:

On 2015-02-24 10:56:53 +0000, wrote:

XStoreColors() doesn't work on Intel drivers (and maybe on some other open source drivers), but this works e.g. on nVidia proprietary drivers. I recommend to use XF86VidModeSetGamma() when XStoreColors() doesn't work.
The second thing is that SDL doesn't check XStoreColors() return code - it should return the error value when XStoreColors() fail.

On 2017-08-13 03:35:48 +0000, Sam Lantinga wrote:

Can you provide a tested patch? I don't have a setup to test this here.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions