This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if a…
…vailable (instead of TrueColor). Our new X11 window was being created with the TrueColor attribute, and trying to set the gamma on that would fail. This change checks for the visual_info extension, and uses that to ask for DirectColor if available.
- Loading branch information
Michael Sartain
committed
Oct 11, 2012
1 parent
fe51dbe
commit 6e12a12
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters