From c244f8c033f100a6e0f3e0b2b408f6ddc1006d47 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sun, 20 Sep 2015 09:29:22 +0200 Subject: Extract GlAttributes from BuilderAttribs --- src/api/win32/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/win32') 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, 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, -- cgit v1.2.3