This repository has been archived by the owner on Jul 10, 2023. 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.
Auto merge of #137 - mstange:cherrypick-upstream-pr-894, r=jdm
Specify the NSOpenGLPFAAllowOfflineRenderers attribute. This commit is cherry-picked from the upstream PR rust-windowing#894 . Without this attribute, on dual-GPU Macs, creating the context will always force a switch to the dedicated GPU. With this attribute, applications can opt in to using the integrated GPU by adding the `NSSupportsAutomaticGraphicsSwitching` key to their app bundle's Info.plist. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/glutin/137) <!-- Reviewable:end -->
- Loading branch information