Created
June 7, 2018 04:51
-
-
Save tywtyw2002/c65c5fe7a7a86fef2dcd65a2bd06e19b to your computer and use it in GitHub Desktop.
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
Left side: master@ src/platform/macos/helpers.rs Rightside: Changed version | |
< NSOpenGLPFAAccelerated as u32, | |
--- | |
> //NSOpenGLPFAAccelerated as u32, | |
> NSOpenGLPFAAllowOfflineRenderers as u32, | |
81a83 | |
> NSOpenGLPFADoubleBuffer as u32, | |
84,86c86,88 | |
< if let Some(true) = pf_reqs.hardware_accelerated { | |
< attributes.push(NSOpenGLPFAAccelerated as u32); | |
< } | |
--- | |
> //if let Some(true) = pf_reqs.hardware_accelerated { | |
> //attributes.push(NSOpenGLPFAAccelerated as u32); | |
> //} | |
91,93c93,95 | |
< if pf_reqs.double_buffer != Some(false) { | |
< attributes.push(NSOpenGLPFADoubleBuffer as u32); | |
< } | |
--- | |
> //if pf_reqs.double_buffer != Some(false) { | |
> //attributes.push(NSOpenGLPFADoubleBuffer as u32); | |
> //} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment