diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-09-20 09:29:22 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-09-21 12:03:55 +0200 |
commit | c244f8c033f100a6e0f3e0b2b408f6ddc1006d47 (patch) | |
tree | 786cb96254b0fe69646700fc4845218c5703ffac /src/api/win32 | |
parent | f51ace4c7885fa25c146c24181c4d87f5632de3e (diff) | |
download | glutin-c244f8c033f100a6e0f3e0b2b408f6ddc1006d47.tar.gz glutin-c244f8c033f100a6e0f3e0b2b408f6ddc1006d47.zip |
Extract GlAttributes from BuilderAttribs
Diffstat (limited to 'src/api/win32')
-rw-r--r-- | src/api/win32/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/win32/init.rs b/src/api/win32/init.rs index c3225b6..daa6b5a 100644 --- a/src/api/win32/init.rs +++ b/src/api/win32/init.rs @@ -159,7 +159,7 @@ unsafe fn init(title: Vec<u16>, builder: BuilderAttribs<'static>, }; // creating the OpenGL context - let context = match builder.gl_version { + let context = match builder.opengl.version { GlRequest::Specific(Api::OpenGlEs, (_major, _minor)) => { if let Some(egl) = egl { if let Ok(c) = EglContext::new(egl, &builder, |